mirror of
https://github.com/dessalines/thumb-key.git
synced 2024-09-11 17:05:34 +03:00
13 lines
337 B
Bash
Executable File
13 lines
337 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Creating the new tag
|
|
new_tag="$1"
|
|
|
|
# Writing to the Releases.md asset that's loaded inside the app
|
|
git cliff --unreleased --tag "$new_tag" --output app/src/main/assets/RELEASES.md
|
|
|
|
# Prepending to the RELEASES.md
|
|
git cliff --tag "$new_tag" --output RELEASES.md
|
|
prettier -w RELEASES.md app/src/main/assets/RELEASES.md
|