diff --git a/.github/workflows/release-1.x.yml b/.github/workflows/release-1.x.yml index 5e8535bf4d..9d5919d13d 100644 --- a/.github/workflows/release-1.x.yml +++ b/.github/workflows/release-1.x.yml @@ -88,7 +88,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} - GITHUB_REF: ${{ github.ref }} + GITHUB_REF: ${{ github.sha }} run: errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then cat $errout; exit $exitcode; fi release_npm: name: Publish to npm diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3709ed1664..408f757878 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,7 +88,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} - GITHUB_REF: ${{ github.ref }} + GITHUB_REF: ${{ github.sha }} run: errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then cat $errout; exit $exitcode; fi release_npm: name: Publish to npm diff --git a/package.json b/package.json index adce3e1f3c..64ce21fee8 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "jsii-pacmak": "^1.98.0", "jsii-rosetta": "^5", "json-schema-to-typescript": "^10.1.5", - "projen": "^0.81.13", + "projen": "^0.81.15", "standard-version": "^9", "ts-jest": "^27", "typescript": "~5.4.5" diff --git a/yarn.lock b/yarn.lock index 518353e5cf..9f3baf1998 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4882,10 +4882,10 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -projen@^0.81.13: - version "0.81.13" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.81.13.tgz#ea2cab002a00df46dc324515b4b47571cda2afd9" - integrity sha512-gmH+/lvhUitjrCNNvV2ZRmiQ6D4sbGVfOBHND5bsEUm/58b5zz5LUvjj3wn5O3/2dECNMlimaYTBAyNuzV1aCw== +projen@^0.81.15: + version "0.81.15" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.81.15.tgz#6eca919899099fa7a74894a2a0e189c1769e1e00" + integrity sha512-Frr2bcYzqZqgk6yQarjHm+lOQRWW6qAP6LAB7ZgtoxqJUN74tzllbceoGTBY/QOG6DLHJORNlvFQ9xMnXM576A== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"