File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 6868 echo "ADDITIONAL_BUILD_NUMBER=${BUILDNUMBER[3]}" >> $GITHUB_ENV
6969 # after a tag, all other builds use the latest build number
7070 if [ -z "${{ matrix.name }}" ]; then
71- curl -L -X PATCH \
71+ curl -s - L -X PATCH \
7272 -H "Accept: application/vnd.github+json" \
7373 -H "Authorization: Bearer ${{ secrets.TOKEN_UPDATE_VAR }}" \
7474 -H "X-GitHub-Api-Version: 2022-11-28" \
@@ -77,18 +77,17 @@ jobs:
7777 fi
7878 else
7979 APP_VER_CODE=$(grep APP_VERSION_CODE gradle.properties | awk -F= '{print $2}')
80- GH_APP_VER_CODE=${{ vars.LAST_APP_VERSION_CODE }}
81- if [ "$APP_VER_CODE" != "$GH_APP_VER_CODE" ]; then
80+ if [ "$APP_VER_CODE" != "${{ vars.LAST_APP_VERSION_CODE }}" ]; then
8281 # after new release from Telegram
8382 echo "ADDITIONAL_BUILD_NUMBER=0" >> $GITHUB_ENV
8483 if [ -z "${{ matrix.name }}" ]; then
85- curl -L -X PATCH \
84+ curl -s - L -X PATCH \
8685 -H "Accept: application/vnd.github+json" \
8786 -H "Authorization: Bearer ${{ secrets.TOKEN_UPDATE_VAR }}" \
8887 -H "X-GitHub-Api-Version: 2022-11-28" \
8988 https://api.github.com/repos/${{ github.repository }}/environments/release/variables/ADDITIONAL_BUILD \
9089 -d '{"name":"ADDITIONAL_BUILD","value":"0"}'
91- curl -L -X PATCH \
90+ curl -s - L -X PATCH \
9291 -H "Accept: application/vnd.github+json" \
9392 -H "Authorization: Bearer ${{ secrets.TOKEN_UPDATE_VAR }}" \
9493 -H "X-GitHub-Api-Version: 2022-11-28" \
You can’t perform that action at this time.
0 commit comments