From 483d40f8017addc1550dda136b0d9b19f654a965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Kr=C3=B6ll?= Date: Fri, 3 Nov 2023 00:23:08 +0100 Subject: [PATCH] fix(ci): publish pipeline & bump version to 1.0.3 --- .github/workflows/release.yml | 7 ++++--- CHANGELOG.md | 4 ++++ package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79feea0..0e2d9d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,9 +27,10 @@ jobs: - name: Get package.json version id: package-json-version run: echo "version=$(cat package.json | jq '.version' --raw-output)" >> $GITHUB_OUTPUT - # Abort if the version in the package.json file (prefixed with 'v') doesn't match the tag name of the release + + # Abort if the version in the package.json file doesn't match the tag name of the release - name: Check package.json version against tag name - if: format('v{0}', steps.package-json-version.outputs.version) != github.event.release.tag_name + if: steps.package-json-version.outputs.version != github.event.release.tag_name uses: actions/github-script@v3 with: script: core.setFailed('Release tag does not match package.json version!') @@ -41,6 +42,6 @@ jobs: run: pnpm build - name: Create Publish to npm - run: pnpm publish --provenance + run: pnpm publish --provenance --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a5921..47b2666 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to **dot-diver** will be documented here. Inspired by [keep ## Unreleased +## [1.0.3](https://github.com/clickbar/dot-diver/tree/1.0.3) (2023-11-03) + +- Rerelease with fixed release pipeline 😅 + ## [1.0.2](https://github.com/clickbar/dot-diver/tree/1.0.2) (2023-11-02) - Updated dependencies diff --git a/package.json b/package.json index 13e87df..4c010d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@clickbar/dot-diver", - "version": "1.0.2", + "version": "1.0.3", "description": "Types and utilities to access object properties by dot notation.", "packageManager": "pnpm@8.8.0", "types": "dist/index.d.ts",