Skip to content

Commit

Permalink
update cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
WHALEEYE committed Oct 19, 2024
1 parent 9af7dfe commit e3fa870
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,21 @@ jobs:
name: dist
path: dist

- name: Check tag for pre-release
id: prerelease_check
run: |
if [[ "${{ github.ref_name }}" == *a* ]]; then
echo "prerelease=true" >> $GITHUB_OUTPUT
else
echo "prerelease=false" >> $GITHUB_OUTPUT
fi
- name: Release to GitHub
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
draft: false
prerelease: false
prerelease: ${{ steps.prerelease_check.outputs.prerelease }}
files: dist/*

build-and-publish-image:
Expand Down

0 comments on commit e3fa870

Please sign in to comment.