mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-09 18:08:57 +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.name "github-actions"
|
||||||
git config user.email "github-actions@github.com"
|
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
|
# Create the tag and push it to GitHub
|
||||||
VERSION_NAME="${{ env.VERSION }} ${{ env.NAME }}"
|
git tag -a "v${{ env.VERSION }}" -m "Release ${{ env.VERSION }} ${{ env.NAME }}" # Tag the release
|
||||||
git tag -a "v${{ env.VERSION }}" -m "Release $VERSION_NAME" # Tag the release with version number and name
|
|
||||||
git push origin --tags # Push all tags to GitHub
|
git push origin --tags # Push all tags to GitHub
|
||||||
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user