Skip to content

Commit 2270a51

Browse files
authored
...
1 parent 694374d commit 2270a51

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,24 @@ jobs:
158158
${ANDROID_HOME}/build-tools/34.0.0/apksigner sign --ks apksign.keystore --ks-pass env:SIGNING_STORE_PASSWORD "./current.apk"
159159
mv "current.apk" "pipebender_v${version}"
160160
fi
161-
161+
162+
echo ${version} > version.num
162163
ls -la
163164
164165
- name: Generate checksum
165166
run: |
166167
cd "${{ github.workspace }}/output/"
167168
find . -name '*.apk' -type f -exec sha256sum {} \; > checksums.txt
168-
echo "::notice::$(cat ./checksums.txt)"
169+
echo "::notice::$(echo $(cat ./checksums.txt))"
170+
ls -la
169171
170172
171173
- name: Create release and upload
172174
run: |
173175
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
174176
cd "${{ github.workspace }}/output/"
177+
version=$(cat version.num)
178+
echo $version
175179
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests
176180
gh release upload "v${version}" $(echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt) --repo MaintainTeam/PipeBenderTests
177181

0 commit comments

Comments
 (0)