Skip to content

Commit

Permalink
tags
Browse files Browse the repository at this point in the history
  • Loading branch information
reese authored Dec 20, 2023
1 parent e7817f7 commit f84025d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/preview-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ jobs:
- id: vars
run: |
echo tag_name=${{github.ref}}-$(git rev-list --count HEAD) >> $GITHUB_OUTPUT
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
with:
current_version: ${{ steps.get-latest-tag.outputs.tag }}
level: prepatch
- uses: actions-ecosystem/action-push-tag@v1
with:
tag: ${{ steps.bump-semver.outputs.new_version }}
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -107,4 +117,3 @@ jobs:
generate_release_notes: true
prerelease: true
name: ${{steps.vars.outputs.tag_name}}
tag_name: ${{steps.vars.outputs.tag_name}}

0 comments on commit f84025d

Please sign in to comment.