From a8d7bf3210ac9bfcb7e1302cf6ca36c35a1cf9e1 Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Sun, 26 Mar 2023 18:12:21 -0600 Subject: [PATCH] feat: initial not-beta release --- .github/workflows/release.yml | 2 +- .projen/tasks.json | 3 +-- .projenrc.js | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5053d72..440cfdf 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 5f4ca87..1832dc9 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -186,8 +186,7 @@ "name": "release", "description": "Prepare a release from \"main\" branch", "env": { - "RELEASE": "true", - "PRERELEASE": "beta" + "RELEASE": "true" }, "steps": [ { diff --git a/.projenrc.js b/.projenrc.js index 677c53f..6921a57 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -7,8 +7,6 @@ const project = new awscdk.AwsCdkConstructLibrary({ name: '@blimmer/cdk-circleci-oidc', repositoryUrl: 'https://github.com/blimmer/cdk-circleci-oidc.git', - prerelease: 'beta', - python: { distName: 'cdk-circleci-oidc', module: 'cdk_circleci_oidc',