Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
mazaheriMahdi committed Nov 22, 2024
1 parent e6bdc2a commit 354455c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/realese.yml

This file was deleted.

4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ const core = require('@actions/core');


execSync(`git tag ${newTag}`);
execSync(`git tag -d latest`);
execSync(`git tag latest`);

core.setOutput("tag", newTag)
execSync(`git push origin --tags`);



console.log(`Tag ${newTag} created and pushed.`);
console.log("latest tag moved to latest commit")
} catch (error) {
Expand Down

0 comments on commit 354455c

Please sign in to comment.