From ec3fbe1242fd2363249f28abe3b9499019105507 Mon Sep 17 00:00:00 2001 From: xandemon Date: Sat, 21 Sep 2024 21:57:44 +0545 Subject: [PATCH] :rotating_light: resolve: release workflow error due to insufficient permissions --- .github/workflows/release.yml | 9 +++++++-- package.json | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b13d337..d350d87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,15 @@ -name: Publish and Release Packages +name: Publish NPM Package and Create Release on: push: tags: - "v*.*.*" +permissions: + contents: write + packages: write + id-token: write + jobs: release: name: Create Release and Publish NPM @@ -41,7 +46,7 @@ jobs: - name: Create GitHub Release uses: softprops/action-gh-release@v1 with: - tag_name: ${{ github.ref }} + tag_name: ${{ github.ref_name }} # body: | # Changes in this release: # - New version published to npm: ${{ github.ref }} diff --git a/package.json b/package.json index 72d8011..350bb11 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "developer-icons", "description": "Ready-to-use high-quality customizable tech icons - made for the developers", - "version": "4.3.0", + "version": "4.3.2", "type": "module", "homepage": "https://xandemon.github.io/developer-icons", "repository": {