Skip to content

Commit

Permalink
ci: action release failed to find to latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
JiPaix committed Nov 15, 2022
1 parent 416e428 commit 10cdc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Get last git tag
if: steps.version-updated.outputs.has-updated == 'true'
id: tag
run: echo "last-tag=$(git describe --tags --abbrev=0 || git rev-list --max-parents=0 ${{github.ref}})" >> $GITHUB_OUTPUT
run: echo "last-tag=$(git describe --tags --abbrev=0 --match "*-beta" ${{github.ref}})" >> $GITHUB_OUTPUT

- name: Generate release notes
if: steps.version-updated.outputs.has-updated == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Get last git tag
if: steps.version-updated.outputs.has-updated == 'true'
id: tag
run: echo "last-tag=$(git describe --tags --abbrev=0 || git rev-list --max-parents=0 ${{github.ref}})" >> $GITHUB_OUTPUT
run: echo "last-tag=$(git describe --tags --abbrev=0 --exclude "*beta" ${{github.ref}})" >> $GITHUB_OUTPUT

- name: Generate release notes
if: steps.version-updated.outputs.has-updated == 'true'
Expand Down

0 comments on commit 10cdc2c

Please sign in to comment.