Skip to content

Commit 8026eee

Browse files
committed
Tags are not deleted from remote
1 parent 56c7ad6 commit 8026eee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31744,7 +31744,7 @@ class Artifacts {
3174431744
}
3174531745
async push() {
3174631746
await this.tags.collect();
31747-
await this.git.add(["-f", Artifacts.TARGET_DIR]);
31747+
await exec.exec(`git add -f ${Artifacts.TARGET_DIR}/*`);
3174831748
const commitResult = await this.git.commit("🚀 Build Artifacts");
3174931749
const pushingResult = await this.git.push();
3175031750
core.info(`Committed changes: ${commitResult.summary.changes}`);

src/model/artifacts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class Artifacts {
4040
private async push() {
4141
await this.tags.collect();
4242

43-
await this.git.add(["-f", Artifacts.TARGET_DIR]);
43+
await exec.exec(`git add -f ${Artifacts.TARGET_DIR}/*`);
4444
const commitResult = await this.git.commit("🚀 Build Artifacts");
4545
const pushingResult = await this.git.push();
4646

0 commit comments

Comments
 (0)