Created
September 12, 2022 16:29
-
-
Save numb95/d35f7be9a1d4cea5f152e58d29bbdf5b to your computer and use it in GitHub Desktop.
upload artifacts in slack channel
This file contains hidden or 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 "[email protected]" \ | |
-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