Skip to content

Commit 7af385f

Browse files
fix: release workflow
1 parent a57e9df commit 7af385f

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ipa-release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Fetch Versions
3636
id: version_check
3737
env:
38-
BASE_BRANCH: "CLOUDP-337866~1"
38+
BASE_BRANCH: "main~1"
3939
run: |
4040
version_changed=$(./.github/scripts/ipa_version_check.sh)
4141
echo "Version changed? ${version_changed}"
@@ -60,7 +60,7 @@ jobs:
6060
- name: Create release tag
6161
uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72
6262
with:
63-
tag: 'ipa-validation-ruleset-v${{ inputs.version_number }}'
63+
tag: 'ipa-validation-ruleset-v${{ needs.check-version.outputs.current_version }}'
6464
commit_sha: ${{ steps.get-sha.outputs.sha }}
6565
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
6666
gpg_passphrase: ${{ secrets.PASSPHRASE }}
@@ -78,11 +78,10 @@ jobs:
7878
with:
7979
node-version: '20.x'
8080
registry-url: 'https://registry.npmjs.org'
81-
- run: echo "Skipping release"
82-
# - run: npm ci
83-
# working-directory: tools/spectral/ipa
84-
# - run: npm publish --access public
85-
# working-directory: tools/spectral/ipa
86-
# env:
87-
# NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_NPM_TOKEN }}
81+
- run: npm ci
82+
working-directory: tools/spectral/ipa
83+
- run: npm publish --access public
84+
working-directory: tools/spectral/ipa
85+
env:
86+
NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_NPM_TOKEN }}
8887

0 commit comments

Comments
 (0)