TP-39914 | fix
This commit is contained in:
17
.github/workflows/codePush.yml
vendored
17
.github/workflows/codePush.yml
vendored
@@ -61,18 +61,21 @@ jobs:
|
||||
runs-on: [default]
|
||||
if: success() && (github.event.inputs.environment == 'QA') # Only create tag for Prod releases, have put QA for testing
|
||||
steps:
|
||||
- name: Create Git tag
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
git tag $TAG_NAME
|
||||
git push origin $TAG_NAME
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.MY_REPO_PAT }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.MY_REPO_PAT }}
|
||||
submodules: recursive
|
||||
persist-credentials: true
|
||||
- name: Create Git tag
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
|
||||
git config --local user.name "${{ github.actor }}"
|
||||
git tag $TAG_NAME
|
||||
git push origin $TAG_NAME
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.MY_REPO_PAT }}
|
||||
- name: Create release tag
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
|
||||
Reference in New Issue
Block a user