Created
September 12, 2022 16:29
Star
You must be signed in to star a gist
upload artifacts in slack channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- export NOW=$(date "+%Y/%m/%d_%H:%M:%S") | |
- ./gradlew AssembleRelease | |
- cd app/build/outputs/apk/release/ | |
- | | |
curl \ | |
-F token="${SLACK_TOKEN}" \ | |
-F channels="${SLACK_CHANNEL}" \ | |
-F initial_comment="Hey people! Here is the APK of app. Publish date ${NOW}" \ | |
-F "file=@app-release.apk" \ | |
-H "Authorization: Bearer ${SLACK_TOKEN}" \ | |
https://slack.com/api/files.upload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment