Skip to content

Commit

Permalink
workflow: adjust release
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Dec 1, 2024
1 parent c6451ae commit f979079
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,16 @@ jobs:
${{ env.FULL_FW_ROOTFS_TAR }}
${{ env.FULL_FW_SHA }}
- name: Create Release Tag
run: |
TAG_NAME="${{ env.TAG_NAME }}"
if ! gh api repos/${{ github.repository }}/git/ref/tags/$TAG_NAME &>/dev/null; then
git tag "$TAG_NAME"
git push origin "$TAG_NAME"
else
echo "Tag $TAG_NAME already exists."
fi
- name: Upload full firmware to release
uses: softprops/action-gh-release@master
with:
Expand Down

0 comments on commit f979079

Please sign in to comment.