mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-07 00:48:58 +01:00
Update Build.yml
This commit is contained in:
parent
b3155b4844
commit
aa8a72c8cb
7
.github/workflows/Build.yml
vendored
7
.github/workflows/Build.yml
vendored
@ -53,11 +53,14 @@ jobs:
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
|
||||
# Set VERSION_NAME using environment variables
|
||||
echo "VERSION_NAME=${{ env.VERSION }} ${{ env.NAME }}" >> $GITHUB_ENV # Store the full version name
|
||||
|
||||
# Create the tag and push it to GitHub
|
||||
VERSION_NAME="${{ env.VERSION }} ${{ env.NAME }}"
|
||||
git tag -a "v${{ env.VERSION }}" -m "Release $VERSION_NAME" # Tag the release with version number and name
|
||||
git tag -a "v${{ env.VERSION }}" -m "Release ${{ env.VERSION }} ${{ env.NAME }}" # Tag the release
|
||||
git push origin --tags # Push all tags to GitHub
|
||||
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user