Skip to content

Commit

Permalink
(IGNORE) Track warnings generated during last publish workflow (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe authored Oct 20, 2022
1 parent 8a23765 commit 0c0ce0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:

- name: Get latest existing tag
uses: actions-ecosystem/action-get-latest-tag@v1
## NEEDS UPDATE for set-output deprecation.
## See https://github.com/actions-ecosystem/action-get-latest-tag/issues/25.
id: get-latest-tag
with:
semver_only: true

- name: Set new version
uses: paulhatch/[email protected]
## NEEDS UPDATE for set-output deprecation.
## See https://github.com/PaulHatch/semantic-version/issues/66.
id: set-version
with:
tag_prefix: "v"
Expand All @@ -32,6 +36,8 @@ jobs:

- name: Generate changelog since last tag
uses: mathiasvr/command-output@v1
## NEEDS UPDATE for set-output deprecation.
## See https://github.com/mathiasvr/command-output/issues/4.
id: changelog
with:
run: git log --format="* %s" ${{ steps.get-latest-tag.outputs.tag }}..HEAD | { grep -v "(IGNORE)" || :; }
Expand Down Expand Up @@ -80,6 +86,8 @@ jobs:

- name: Commit Cargo.toml and changelog
uses: stefanzweifel/git-auto-commit-action@v4
## NEEDS UPDATE for set-output deprecation.
## See https://github.com/stefanzweifel/git-auto-commit-action/issues/250.
id: commit
with:
commit_message: Prepare ${{ steps.set-version.outputs.version }} release
Expand Down

0 comments on commit 0c0ce0c

Please sign in to comment.