Skip to content

Commit

Permalink
bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
ADorigi committed May 28, 2024
1 parent 2d809c2 commit 296970b
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,15 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Tag version
id: tag_version
uses: RomainEndelin/github-tag-action@v1.0
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pre_release_branches: main
append_to_pre_release_tag: rc
tag_prefix: v
force_prerelease_bump: prerelease
- name: Set latest tag output
id: set_latest_tag
run: echo "latest_tag=${{ steps.tag_version.outputs.new_tag }}-rc" >> "$GITHUB_OUTPUT"

- name: Create tag
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/<tagname>',
sha: context.sha
})
run: echo "latest_tag=${{ steps.tag_version.outputs.new_tag }}" >> "$GITHUB_OUTPUT"
- name: Save new tag
id: save_new_tag
run: |
Expand Down

0 comments on commit 296970b

Please sign in to comment.