Skip to content

Commit

Permalink
fix(workflow): remove if check
Browse files Browse the repository at this point in the history
  • Loading branch information
bsord committed Oct 22, 2020
1 parent 4f7aa78 commit 52b3a14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,21 @@ jobs:

- name: Generate changelog and tag with new version
id: get-next-version
if: ${{ steps.get-next-version.outputs.skipped == 'false' }}
uses: bsord/conventional-changelog-action@v3.7.0
with:
github-token: ${{ secrets.github_token }}
tag-prefix: ''
skip-version-file: true

- name: Create Release
if: ${{ steps.get-next-version.outputs.skipped == 'false' }}
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ steps.get-next-version.outputs.version }}
release_name: ${{ steps.get-next-version.outputs.version }}
body: ${{ steps.get-next-version.outputs.clean_changelog }}

- name: Build and push image
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 52b3a14

Please sign in to comment.