diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e1ada879c8..28b7c72a64b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,17 +106,17 @@ jobs: pushd tests/e2e >/dev/null || exit npm ci && npm run tsc && npm publish popd >/dev/null || exit - - name: Create failure MM message - if: ${{ failure() }} - run: | - echo "{\"text\":\":no_entry_sign: Che E2E Tests ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse/che/actions/workflows/release.yml\"}" > mattermost.json - - name: Create success MM message - run: | - echo "{\"text\":\":white_check_mark: Che E2E Tests image and generator ${{ github.event.inputs.version }} release job is complete: \n Performed tagging and container build of new image: https://quay.io/eclipse/che-e2e:${{ github.event.inputs.version }}. \n Published package to npmjs https://www.npmjs.com/package/@eclipse-che/che-e2e/v/${{ github.event.inputs.version }}.\"}" > mattermost.json - - name: Send MM message - if: ${{ success() }} || ${{ failure() }} - uses: mattermost/action-mattermost-notify@1.1.0 - env: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - MATTERMOST_CHANNEL: eclipse-che-releases - MATTERMOST_USERNAME: che-bot + #- name: Create failure MM message + #if: ${{ failure() }} + #run: | + #echo "{\"text\":\":no_entry_sign: Che E2E Tests ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse/che/actions/workflows/release.yml\"}" > mattermost.json + #- name: Create success MM message + #run: | + #echo "{\"text\":\":white_check_mark: Che E2E Tests image and generator ${{ github.event.inputs.version }} release job is complete: \n Performed tagging and container build of new image: https://quay.io/eclipse/che-e2e:${{ github.event.inputs.version }}. \n Published package to npmjs https://www.npmjs.com/package/@eclipse-che/che-e2e/v/${{ github.event.inputs.version }}.\"}" > mattermost.json + #- name: Send MM message + #if: ${{ success() }} || ${{ failure() }} + #uses: mattermost/action-mattermost-notify@1.1.0 + #env: + #MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + #MATTERMOST_CHANNEL: eclipse-che-releases + #MATTERMOST_USERNAME: che-bot diff --git a/make-release.sh b/make-release.sh index 2ac382979ea..c8531388f0c 100755 --- a/make-release.sh +++ b/make-release.sh @@ -157,7 +157,7 @@ echo "${VERSION}" > VERSION pushd tests/e2e >/dev/null || exit # update devworkspace generator version -jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${NEXT_VERSION}\" |" package.json > package.json.update +jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${VERSION}\" |" package.json > package.json.update mv package.json.update package.json npm --no-git-tag-version version --allow-same-version "${VERSION}" popd >/dev/null || exit