Skip to content

Commit

Permalink
build: Create release
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 18, 2023
1 parent 2c3e7c7 commit 6014a58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,20 @@ jobs:
$(printf "%s" "${TAGS[@]/#/ --tag }" ) .
-
name: Clear Docker credentials
if: env.exists == 'false'
run: |
rm -f ${HOME}/.docker/config.json
-
name: Get previous tag
if: env.exists == 'false'
id: previousTag
run: |
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -1)
echo "previousTag: $name"
echo "previousTag=$name" >> $GITHUB_ENV
-
name: Generate changelog
if: env.exists == 'false'
id: changelog
uses: requarks/changelog-action@v1
with:
Expand All @@ -120,6 +123,7 @@ jobs:
excludeTypes: "docs,build,chore"
-
name: Create a release
if: env.exists == 'false'
uses: action-pack/github-release@v2
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
Expand Down

0 comments on commit 6014a58

Please sign in to comment.