TP-39914 | fix
This commit is contained in:
12
.github/workflows/codePush.yml
vendored
12
.github/workflows/codePush.yml
vendored
@@ -23,9 +23,9 @@ on:
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: [default]
|
||||
outputs:
|
||||
package_version: ${{ steps.get_version.outputs.version }}
|
||||
build_number: ${{ steps.get_package_info.outputs.buildNumber }}
|
||||
# outputs:
|
||||
# package_version: ${{ steps.get_version.outputs.version }}
|
||||
# build_number: ${{ steps.get_package_info.outputs.buildNumber }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -83,9 +83,9 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Create and push tag
|
||||
if: steps.check_tag.outputs.tag_exists == 'false'
|
||||
if: env.tag_exists == 'false'
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
TAG_NAME="${{ env.version }}"
|
||||
# git config --local user.email "${{ github.actor }}@github.com"
|
||||
git config --local user.name "${{ github.actor }}"
|
||||
git tag $TAG_NAME
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.MY_REPO_PAT }}
|
||||
- name: Create release tag
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
TAG_NAME="${{ env.package_version }}"
|
||||
RELEASE_NAME="Release $TAG_NAME"
|
||||
DESCRIPTION="${{ github.event.inputs.description }}"
|
||||
REPO="navi-medici/address-verification-app"
|
||||
|
||||
Reference in New Issue
Block a user