Giovanni Mascellani (@giomasce) commented about gitlab/release.yml:
+# CI script for creating releases
+create-release:
- stage: deploy
- image: registry.gitlab.com/gitlab-org/release-cli:latest
- rules:
- if: $CI_COMMIT_TAG && $CI_PROJECT_PATH == "wine/vkd3d"
- script:
- VERSION=$(expr "$CI_COMMIT_TAG" ":" 'vkd3d-(.*)')
- URL=$(grep -o "https://dl.winehq.org/.*" ANNOUNCE)
- FILEPATH=$(expr "$URL" ":" '.*(/.*)')
- |
sed -e '/^The source/,/^----------/d
/^----------/,$d
s/^\*\*\*/###/' ANNOUNCE >announce.md
That's very hacky, but I guess it's worth it to have nicely formatted release notes on GitLab. One improvement, though: apparently the syntax `` `word' `` is used for what in Markdown is `` `word` ``. Would it be possible to convert that? Current release notes looks a bit messy because of that.