mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-14 07:03:54 +08:00
Fix publish-on-sdkman.sh and how it is called in the GH workflow
This commit is contained in:
2
.github/workflows/verify.yaml
vendored
2
.github/workflows/verify.yaml
vendored
@@ -218,5 +218,7 @@ jobs:
|
||||
asset_name: mvnd-${{ env.VERSION }}-windows-amd64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Publish on sdkman.io
|
||||
run: ./build/publish-on-sdkman.sh "${{ env.VERSION }}"
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
----
|
||||
|
||||
* Re-run the https://github.com/mvndaemon/mvnd/actions?query=workflow%3A%22Mvnd+Changelog%22[Changelog update] manually.
|
||||
* When it terminates, find the anchor of the released tag in the
|
||||
https://github.com/mvndaemon/mvnd/blob/master/CHANGELOG.md[Changelog] by clicking the chain link on the left.
|
||||
* Wait for the release job to finish, paste the link to changelog to the release.
|
||||
* When it terminates, find the section about the current release
|
||||
in the https://raw.githubusercontent.com/mvndaemon/mvnd/master/CHANGELOG.md[Changelog] and copy its MarkDown source
|
||||
to the respective release page. The release page will appear once the release build is finished.
|
||||
|
||||
@@ -83,8 +83,8 @@ RESPONSE="$(curl -s -X POST \
|
||||
-H "Consumer-Token: ${SDKMAN_CONSUMER_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Accept: application/json" \
|
||||
-d '{"text": "mvnd '${VERSION}' released '${RELEASE_URL}'"}' \
|
||||
https://vendors.sdkman.io/announce/freeform)"
|
||||
-d '{"candidate": "mvnd", "version": "'${VERSION}'", "url": "'${RELEASE_URL}'"}' \
|
||||
https://vendors.sdkman.io/announce/struct)"
|
||||
|
||||
node -pe "
|
||||
var json = JSON.parse(process.argv[1]);
|
||||
|
||||
Reference in New Issue
Block a user