fix curly braces

This commit is contained in:
VishnuSanal
2021-11-27 22:48:16 +05:30
parent 3b56ed662e
commit ac7b25e159
+4 -4
View File
@@ -47,11 +47,11 @@ jobs:
runs-on: ubuntu-20.04
needs: build
env:
VERSION_NAME: ${GITHUB_REF##*/} | sed 's/release\///'
VERSION_NAME: ${{ GITHUB_REF##*/ }} | sed 's/release\///'
COMMIT_COUNT: git rev-list --count HEAD
steps:
- name: Publish on Telegram
run: |
cp app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk app/build/outputs/apk/fdroid/debug/amaze-fdroid-${ env.VERSION_NAME }-${{ env.COMMIT_COUNT }}.apk
cp app/build/outputs/apk/play/debug/app-play-debug.apk app/build/outputs/apk/play/debug/amaze-play-${ env.VERSION_NAME }-${{ env.COMMIT_COUNT }}.apk
echo $(curl -v -F "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}" -F document=@app/build/outputs/apk/fdroid/debug/amaze-fdroid-${ env.VERSION_NAME }-${{ env.COMMIT_COUNT }}.apk https://api.telegram.org/${{ secrets.AMAZE_BOT_ID }}:${{ secrets.TELEGRAM_INTEGRATION_KEY }}/sendDocument && curl -v -F "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}" -F document=@app/build/outputs/apk/play/debug/amaze-play-${ env.VERSION_NAME }-${{ env.COMMIT_COUNT }}.apk https://api.telegram.org/${{ secrets.AMAZE_BOT_ID }}:${{ secrets.TELEGRAM_INTEGRATION_KEY }}/sendDocument)
cp app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk app/build/outputs/apk/fdroid/debug/amaze-fdroid-${{ env.VERSION_NAME }}-${{ git rev-list --count HEAD }}.apk
cp app/build/outputs/apk/play/debug/app-play-debug.apk app/build/outputs/apk/play/debug/amaze-play-${{ env.VERSION_NAME }}-${{ git rev-list --count HEAD }}.apk
echo $(curl -v -F "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}" -F document=@app/build/outputs/apk/fdroid/debug/amaze-fdroid-${{ env.VERSION_NAME }}-${{ git rev-list --count HEAD }}.apk https://api.telegram.org/${{ secrets.AMAZE_BOT_ID }}:${{ secrets.TELEGRAM_INTEGRATION_KEY }}/sendDocument && curl -v -F "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}" -F document=@app/build/outputs/apk/play/debug/amaze-play-${{ env.VERSION_NAME }}-${{ git rev-list --count HEAD }}.apk https://api.telegram.org/${{ secrets.AMAZE_BOT_ID }}:${{ secrets.TELEGRAM_INTEGRATION_KEY }}/sendDocument)