Release new version on tag
Bonus: Also notify your followers on every update!
This project follows the DEV.to #ActionsHackathon21 hackathon.
Use GitHub Actions and Workflows to build and release your application on every release tag.
Then send an announcement to your Telegram channel about the new release
Check the complete workflow here (release-on-tag.yml)
Actions used
- actions/checkout@v2 To checkout the source code from the repository
- actions/cache@v2 To cache the dependencies, allow us to re use them for future builds
- marvinpinto/action-automatic-releases@latest To release your build to Github Release page
(Also actions/setup-node@v2 for setup nodejs, although it's not required)
Configurations
- You can config the release tag prefix, with
on.push.tags
key. - To send announcement to Telegram, you need to configure the workflow using following steps
- Talk with Telegram's @BotFather to create a new bot if you don't have one. We will use this bot to send messages to the Telegram channel. Heβ¦