Update oneshotSnapshotPackage.yml

pull/1005/head snapshot-20220703.522
powderluv 2022-07-02 10:00:52 -07:00 committed by GitHub
parent d4f1f41435
commit a1947c7bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
package_version="$(printf '%(%Y%m%d)T.${{ github.run_number }}')"
tag_name="snapshot-${package_version}"
tag_name="oneshot-${package_version}"
echo "package_version=${package_version}" >> $GITHUB_ENV
echo "tag_name=${tag_name}" >> $GITHUB_ENV
@ -31,7 +31,7 @@ jobs:
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
branch: main
branch: ${{ github.ref_name }}
tags: true
- name: Create Release