Skip to content

Commit

Permalink
Test release
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Mar 18, 2023
1 parent 3d9eb4d commit 9de4d66
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
38 changes: 22 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,34 @@ jobs:
echo "Version $OLD_VERSION hasn't changed, skipping the release"
fi
- name: Create a git tag
if: ${{ steps.version.outputs.version }}
run: git tag $NEW_VERSION && git push --tags
env:
NEW_VERSION: ${{ steps.version.outputs.version }}
# - name: Create a git tag
# if: ${{ steps.version.outputs.version }}
# run: git tag $NEW_VERSION && git push --tags
# env:
# NEW_VERSION: ${{ steps.version.outputs.version }}

- name: GitHub release
# - name: GitHub release
# if: ${{ steps.version.outputs.version }}
# uses: actions/create-release@v1
# id: create_release
# with:
# draft: false
# prerelease: false
# release_name: ${{ steps.version.outputs.version }}
# tag_name: ${{ steps.version.outputs.version }}
# body_path: TEMP_CHANGELOG.md
# env:
# GITHUB_TOKEN: ${{ github.token }}

- uses: actions/setup-node@v3
if: ${{ steps.version.outputs.version }}
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: ${{ steps.version.outputs.version }}
tag_name: ${{ steps.version.outputs.version }}
body_path: TEMP_CHANGELOG.md
env:
GITHUB_TOKEN: ${{ github.token }}
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
if: ${{ steps.version.outputs.version }}
run: npm install
run: npm ci

- name: Publish to NPM
if: ${{ steps.version.outputs.version }}
Expand Down
3 changes: 1 addition & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ wavesurfer.js changelog

6.6.1 (18.03.2023)
------------------
- Temp: test on this branch
- Fix: avoid exit 1 in CI script
- Fix: NPM publish in the CI job (#2727)
- Fix: avoid exit 1 in CI script (#2734)
- Docs: add a video tutorial link to the readme (#2724)

6.6.0 (14.03.2023)
Expand Down

0 comments on commit 9de4d66

Please sign in to comment.