Skip to content

Commit

Permalink
TASK: Tag more packages for *.0 release
Browse files Browse the repository at this point in the history
Tag the following for a new major release, too:

- Neos.Welcome
- Neos.Behat
- BuildEssentials

Fixes neos#81
  • Loading branch information
kdambekalns committed Aug 30, 2022
1 parent 883bd90 commit 83b36b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ Build/tag-release.sh "${VERSION}" "${BRANCH}" "${BUILD_URL}"
EXTENDED_RELEASE_NOTES="${RELEASE_NOTES}\n\nSee [changelog](http://flowframework.readthedocs.io/en/${BRANCH}/TheDefinitiveGuide/PartV/ChangeLogs/${VERSION//.}.html) for details."
API_JSON=$(printf '{"tag_name": "%s","name": "Flow %s","body": "%s","draft": false,"prerelease": false}' "${VERSION}" "${VERSION}" "${EXTENDED_RELEASE_NOTES}")
curl -H "Authorization: token ${GITHUB_TOKEN}" --data "${API_JSON}" https://api.github.com/repos/neos/flow-development-collection/releases

if [[ "$VERSION" == *.0 ]]; then
API_JSON=$(printf '{"tag_name": "%s","name": "%s","body": "%s", "draft": false,"prerelease": false}' "${VERSION}" "${VERSION}" "Released through ${BUILD_URL}")
# release Neos.Behat *.0
curl -H "Authorization: token ${GITHUB_TOKEN}" --data "${API_JSON}" https://api.github.com/repos/neos/behat/releases
# release BuildEssentials *.0
curl -H "Authorization: token ${GITHUB_TOKEN}" --data "${API_JSON}" https://api.github.com/repos/neos/BuildEssentials/releases
# release Neos.Welcome *.0
curl -H "Authorization: token ${GITHUB_TOKEN}" --data "${API_JSON}" https://api.github.com/repos/neos/flow-welcome/releases
fi

0 comments on commit 83b36b6

Please sign in to comment.