From 68c752115d8c24ff1688714dc10c6cec2d6f316f Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:37:28 -0800 Subject: [PATCH] Disable changelog step if new package --- .github/workflows/publish.yml | 2 +- packages/test/package.json | 2 +- yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2b4aa29d..f23b2741 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -125,7 +125,7 @@ jobs: git tag -a $TAG -m $TAG git push origin $TAG - name: Generate changelog - if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' }} + if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' && inputs.version_type != 'new package' }} run: | chmod +x .github/scripts/generate-changelog.sh ./.github/scripts/generate-changelog.sh ${{ inputs.package }} ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} diff --git a/packages/test/package.json b/packages/test/package.json index e5e300b9..cf91a397 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,5 +1,5 @@ { - "name": "@department-of-veterans-affairs/mobile-test-4", + "name": "@department-of-veterans-affairs/mobile-test-5", "version": "0.0.1", "description": "For testing purposes only", "main": "index.js", diff --git a/yarn.lock b/yarn.lock index 27a18af6..34c95974 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,9 +2779,9 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test-4@workspace:packages/test": +"@department-of-veterans-affairs/mobile-test-5@workspace:packages/test": version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test-4@workspace:packages/test" + resolution: "@department-of-veterans-affairs/mobile-test-5@workspace:packages/test" languageName: unknown linkType: soft