Skip to content

Commit 4e61887

Browse files
committed
+
1 parent a9136ee commit 4e61887

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/release-feature-branch.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -395,12 +395,12 @@ jobs:
395395
if: steps.checks.outputs.has_new_release == 'true'
396396
working-directory: ${{ matrix.package }}
397397
shell: bash
398-
env:
399-
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
400398
run: npm run pack
401399

402400
- name: Publish
403401
if: github.event_name == 'push' && steps.checks.outputs.has_new_release == 'true'
402+
working-directory: ${{ matrix.package }}
403+
shell: bash
404404
run: |
405405
tag="${{ steps.checks.outputs.tag }}"
406406
version="${{ steps.checks.outputs.version }}"
@@ -411,8 +411,4 @@ jobs:
411411
echo "npm: \`${{ matrix.package }}@$tag | ${{ matrix.package }}@$version\`" >> $GITHUB_STEP_SUMMARY
412412
413413
# Post release message to Discord
414-
# curl -X POST -H "Content-Type: application/json" -d "{\"embeds\": [{\"title\": \"New \`${{ matrix.package }}\` release! 🎉\", \"url\": \"https://www.npmjs.com/package/${{ matrix.package }}/v/$version\", \"color\": \"12907856\", \"fields\": [{\"name\": \"Version\", \"value\": \"\`$version\`\"}, {\"name\": \"Tag\", \"value\": \"\`$tag\`\"}]}]}" ${{ secrets.DISCORD_DEV_RELEASE_WEBHOOK_URL }}
415-
working-directory: ${{ matrix.package }}
416-
shell: bash
417-
env:
418-
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
414+
# curl -X POST -H "Content-Type: application/json" -d "{\"embeds\": [{\"title\": \"New \`${{ matrix.package }}\` release! 🎉\", \"url\": \"https://www.npmjs.com/package/${{ matrix.package }}/v/$version\", \"color\": \"12907856\", \"fields\": [{\"name\": \"Version\", \"value\": \"\`$version\`\"}, {\"name\": \"Tag\", \"value\": \"\`$tag\`\"}]}]}" ${{ secrets.DISCORD_DEV_RELEASE_WEBHOOK_URL }}

0 commit comments

Comments
 (0)