Skip to content

Commit

Permalink
Remove default version code and number when building release artifact…
Browse files Browse the repository at this point in the history
…s in GH Actions (#5146)
  • Loading branch information
msasikanth authored Nov 27, 2024
1 parent e0ad1c1 commit 1334332
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Setup version code and name
id: version_code_and_name
run: |
VERSION_NAME=${{ steps.tramline.outputs.version_name:-"1.0.0" }}
VERSION_CODE=${{ steps.tramline.outputs.version_code:-"1" }}
VERSION_NAME=${{ steps.tramline.outputs.version_name }}
VERSION_CODE=${{ steps.tramline.outputs.version_code }}
echo "ORG_GRADLE_PROJECT_VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
echo "ORG_GRADLE_PROJECT_VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Setup version code and name
id: version_code_and_name
run: |
VERSION_NAME=${{ steps.tramline.outputs.version_name:-"1.0.0" }}
VERSION_CODE=${{ steps.tramline.outputs.version_code:-"1" }}
VERSION_NAME=${{ steps.tramline.outputs.version_name }}
VERSION_CODE=${{ steps.tramline.outputs.version_code }}
echo "ORG_GRADLE_PROJECT_VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
echo "ORG_GRADLE_PROJECT_VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Setup version code and name
id: version_code_and_name
run: |
VERSION_NAME=${{ steps.tramline.outputs.version_name:-"1.0.0" }}
VERSION_CODE=${{ steps.tramline.outputs.version_code:-"1" }}
VERSION_NAME=${{ steps.tramline.outputs.version_name }}
VERSION_CODE=${{ steps.tramline.outputs.version_code }}
echo "ORG_GRADLE_PROJECT_VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
echo "ORG_GRADLE_PROJECT_VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV
Expand Down

0 comments on commit 1334332

Please sign in to comment.