feat: enable blah

This commit is contained in:
Aleksandr Chikovani 2023-08-27 23:59:17 -04:00
parent 8791b03263
commit b89e7ae9de

View file

@ -91,8 +91,8 @@ jobs:
release:
needs: build_and_publish
runs-on: ubuntu-latest
environment:
name: release
#environment:
# name: release
permissions:
contents: write
packages: write
@ -135,25 +135,29 @@ jobs:
export FIXES_ENABLED=1
done
echo "debugdebug"
wc -l /tmp/my_commits_log
echo 'debugdebug'
egrep -v "${FEATURES_REGEX}|${FIXES_REGEX}" /tmp/my_commits_log | while read l; do
echo "* ${l}" >> /tmp/my_changelog_other
export OTHER_ENABLED=1
done
if [[ "$(wc -l /tmp/my_changelog_features | awk '{print $1}')" -gt 0 ]] ; then
echo "# Features:" >> /tmp/my_changelog
echo "### Features:" >> /tmp/my_changelog
cat /tmp/my_changelog_features >> /tmp/my_changelog
echo "" >> /tmp/my_changelog
fi
if [[ "$(wc -l /tmp/my_changelog_fixes | awk '{print $1}')" -gt 0 ]] ; then
echo "# Fixes:" >> /tmp/my_changelog
echo "### Fixes:" >> /tmp/my_changelog
cat /tmp/my_changelog_fixes >> /tmp/my_changelog
echo "" >> /tmp/my_changelog
fi
if [[ "$(wc -l /tmp/my_changelog_other | awk '{print $1}')" -gt 0 ]] ; then
echo "# Other:" >> /tmp/my_changelog
echo "### Other:" >> /tmp/my_changelog
cat /tmp/my_changelog_other >> /tmp/my_changelog
echo "" >> /tmp/my_changelog
fi