diff --git a/.github/workflows/x-release.yml b/.github/workflows/x-release.yml index f3fcea81..2e6d91da 100644 --- a/.github/workflows/x-release.yml +++ b/.github/workflows/x-release.yml @@ -69,10 +69,10 @@ jobs: else echo 'false' fi - )" >> $GITHUB_ENV + )" >> "$GITHUB_OUTPUT" - name: Create a github release - if: env.release-exists == 'false' + if: steps.release-exists.outputs.release-existss == 'false' run: gh release create ${{ inputs.tag }} --repo ${{ inputs.gh-org }}/keycloak-nodejs-connect --title ${{ inputs.tag }} --draft ${{ inputs.nightly && '--prerelease' || '' }} - name: Create package tarball diff --git a/release.sh b/release.sh deleted file mode 100755 index ce5fa4db..00000000 --- a/release.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -e - -DIR="$PWD" -VERSION=`./get-version.sh` -echo "Version: $VERSION" - -echo "------------------------------------------------------------------------------------------------------------" -echo "Building:" -echo "" - -npm install - - -echo "------------------------------------------------------------------------------------------------------------" -echo "NPM public:" -echo "" - -npm publish - - -echo "------------------------------------------------------------------------------------------------------------" -echo "Done" -echo "------------------------------------------------------------------------------------------------------------"