mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-06 16:38:57 +01:00
Update Build.yml
This commit is contained in:
parent
eb6b27ed23
commit
1543b36eb5
5
.github/workflows/Build.yml
vendored
5
.github/workflows/Build.yml
vendored
@ -45,6 +45,11 @@ jobs:
|
||||
|
||||
- name: Tag release
|
||||
run: |
|
||||
# Set Git user for the GitHub Actions runner
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
|
||||
# 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 push origin "v${env:VERSION}" # Push the tag to GitHub
|
||||
|
Loading…
Reference in New Issue
Block a user