diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69fe79da..04758246 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} GITHUB_REF: ${{ github.ref }} - 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 -p 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then cat $errout; exit $exitcode; fi + 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 needs: release diff --git a/.projen/tasks.json b/.projen/tasks.json index aab613e1..5e000058 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -179,8 +179,7 @@ "description": "Prepare a release from \"main\" branch", "env": { "RELEASE": "true", - "MAJOR": "2", - "PRERELEASE": "pre" + "MAJOR": "2" }, "steps": [ { diff --git a/.projenrc.js b/.projenrc.js index 976c5d44..ca07fee3 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -15,7 +15,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ // ignorePatterns: ['assets/**/*'] }, majorVersion: 2, - prerelease: 'pre', + // prerelease: 'pre', tsconfig: { compilerOptions: { noUnusedLocals: false }, include: ['assets/**/*.ts'] }, tsconfigDev: { compilerOptions: { noUnusedLocals: false } },