Skip to content

Commit

Permalink
fix(ci): validate empty new release version
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati committed Apr 23, 2023
1 parent 1ae9407 commit 2b9684a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
name: Cut a release on GitHub
runs-on: ubuntu-latest
needs: next-version
if: needs.next-version.outputs.new-release-version != needs.next-version.outputs.last-release-version
if: needs.next-version.outputs.new-release-version != "" && needs.next-version.outputs.new-release-version != needs.next-version.outputs.last-release-version
steps:
- name: checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit 2b9684a

Please sign in to comment.