diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f5ea151..5ccf9b76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,7 +73,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 da1e0233..ea6ac037 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -250,8 +250,7 @@ "description": "Prepare a release from \"main\" branch", "env": { "RELEASE": "true", - "MAJOR": "4", - "PRERELEASE": "beta" + "MAJOR": "4" }, "steps": [ { diff --git a/.projenrc.ts b/.projenrc.ts index 109192b0..bfb3a5e5 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -37,7 +37,19 @@ const project = new awscdk.AwsCdkConstructLibrary({ // prerelease: 'beta', minNodeVersion: '18.0.0', description: 'Deploy a NextJS app to AWS using CDK and OpenNext.', - keywords: ['nextjs', 'next', 'aws-cdk', 'aws', 'cdk', 'standalone', 'iac', 'infrastructure', 'cloud', 'serverless', 'open-next'], + keywords: [ + 'nextjs', + 'next', + 'aws-cdk', + 'aws', + 'cdk', + 'standalone', + 'iac', + 'infrastructure', + 'cloud', + 'serverless', + 'open-next', + ], // tooling config eslintOptions: { prettier: true, diff --git a/package.json b/package.json index 82aab1f9..c61a032e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cdk-nextjs-standalone", - "description": "Deploy a NextJS app to AWS using CDK. Uses standalone build and output tracing.", + "description": "Deploy a NextJS app to AWS using CDK and OpenNext.", "repository": { "type": "git", "url": "https://github.com/jetbridge/cdk-nextjs.git" @@ -93,6 +93,7 @@ "infrastructure", "next", "nextjs", + "open-next", "serverless", "standalone" ],