From 1211152c81656f18abc1d53425069eab695945a5 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 4 Dec 2024 21:17:05 -0500 Subject: [PATCH] chore: improve release workflow by including fetch-depth and token --- .github/workflows/release.yml | 10 ++++++++-- package.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aed35832..21ad7162 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Git Config run: | @@ -24,8 +27,11 @@ jobs: with: bun-version: latest - - name: 'Automated Version Bump' - run: npm version patch + - name: 'Automated Version Bump' + run: | + npm version patch + git push + git push --tags env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index bab16bed..a94af660 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@onsonr/nebula", "description": "A specialized fork of Shoelace customized for the Sonr Network, focusing on cryptocurrency and blockchain interfaces.", - "version": "0.0.3", + "version": "0.0.4", "homepage": "https://github.com/onsonr/styles", "author": "Prad ", "license": "MIT",