It's just useful scripts to make our work when we talk about changelogs, releases and build automation like APK's
generation and send it into google drive'
s folders. It also could be a gist
but obviously I want to put other scripts related of it as I need here.
Before to start to use it, please install the following dependencies:
- ruby
- GitHub Changelog Generator
- chandler
- npm
- React Native Version
npm install -g react-native-version
Basically it uses the libraries above to make the automation and currently could be executed from your terminal
by the following snippet:
bash -c "$(curl -LsS https://raw.githubusercontent.com/falcucci/release-me/master/release.sh)"
or just put it on your package.json
as follows:
{
"scripts": {
"publish": "curl -LsS https://raw.githubusercontent.com/falcucci/release-me/master/release.sh | bash -s"
}
}
Before to start to use it, please install the following dependencies:
- gdrive
brew install gdrive
The script will build your APK
file and send it for your google drive folder to manage your versions. For now you could add a npm script at your package.json
as follows and e.g run npm run build staging
:
{
"scripts": {
"build": "curl -LsS https://raw.githubusercontent.com/falcucci/release-me/master/apk-builder.sh | bash -s",
}
}
Also, read how gdrive works and add the GOOGLE_DRIVE_FOLDER_ID
variable at your .env.<environment>
file as your google drive folder identifier. If you have two folders for example, put it on each one in the related .env
.
We have a script to avoid you to visit One Signal every time to send and debug a push-notification
. Firstly get the TEMPLATE_ID
value and put it in your .env
environment file. The template_id
is the UUID found in the URL when viewing a template on our dashboard. Secondly get your PLAYER_ID
here.
So, with that variables already setted just run npm run notification <player_id>
{
"scripts": {
"notification": "curl -LsS https://raw.githubusercontent.com/falcucci/release-me/master/notification.sh | bash -s",
}
}
npm i -g -S @falcucci/changelog-it@1.5.3
The most useful script integrated with gitlab and jira so far.
curl -LsS https://raw.githubusercontent.com/falcucci/release-me/master/changelog-it.sh | bash -s <semantic-version> <summary>
Please, check it out (how to configure) your channels, templates and more in the changelog-it README.
That's it! ✨
The code is available under the MIT license.