diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5ec7cd52..c87953b3 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -74,6 +74,15 @@ jobs: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Get published version + if: steps.changesets.outputs.hasChangesets == 'true' + run: | + git checkout changeset-release/main + VERSION=$(node -p "require('./packages/starlight-view-modes/package.json').version") + NAME=$(node -p "require('./packages/starlight-view-modes/package.json').name") + git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit + git push origin changeset-release/main:changeset-release/main --force + image-tag: name: Image Tag runs-on: ubuntu-latest diff --git a/packages/starlight-view-modes/README.md b/packages/starlight-view-modes/README.md index 406d58fa..bf38b621 100644 --- a/packages/starlight-view-modes/README.md +++ b/packages/starlight-view-modes/README.md @@ -14,6 +14,6 @@ This project uses pnpm workspaces to develop a single Starlight plugin from the ## License -Licensed under the MIT License, Copyright © trueberryless-org. +Licensed under the MIT license, Copyright © trueberryless. See [LICENSE](/LICENSE) for more information.