Change changelog workflow

This commit is contained in:
problematicconsumer
2023-10-21 21:49:26 +03:30
parent 87cf734825
commit 88c7f8d2c7
4 changed files with 28 additions and 1267 deletions

View File

@@ -116,9 +116,8 @@ release: # Create a new tag for release.
echo "version: $${VERSION_STR}+$${BUILD_NUMBER}" && \
sed -i "s/version: .*/version: $${VERSION_STR}\+$${BUILD_NUMBER}/g" pubspec.yaml && \
git tag $${TAG} > /dev/null && \
gitchangelog > changelog.md || { git tag -d $${TAG}; echo "Please run pip install git gitchangelog pystache mustache markdown"; exit 2; } && \
git tag -d $${TAG} > /dev/null && \
git add pubspec.yaml changelog.md && \
git add pubspec.yaml CHANGELOG.md && \
make sync_translate && \
git add assets/translations/* && \
git commit -m "release: version $${TAG}" && \