⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
ci: adding releases action
Andrej340370e6d54c
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 28fe37ea2..251f08083 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -21,27 +21,28 @@ jobs:with:fetch-depth: 0- - name: Setup Node.js- uses: actions/setup-node@v4+ - name: Setup Bun+ uses: oven-sh/setup-bun@v1with:- node-version: '20'+ bun-version: latest- name: Install dependenciesrun: |- npm install -g conventional-changelog-cli- npm install -g conventional-recommended-bump+ bun add -g conventional-changelog-cli+ bun add -g conventional-recommended-bump+ bun add -g conventional-changelog-angular- name: Get version bumpid: bumpif: ${{ !inputs.version }}run: |- BUMP=$(conventional-recommended-bump -p angular)+ BUMP=$(bunx conventional-recommended-bump -p angular)echo "bump=$BUMP" >> $GITHUB_OUTPUT- name: Get current versionid: current_versionrun: |- VERSION=$(node -p "require('./package.json').version")+ VERSION=$(bun x jq -r .version package.json)echo "version=$VERSION" >> $GITHUB_OUTPUT- name: Calculate new version@@ -52,7 +53,7 @@ jobs:NEW_VERSION=${{ inputs.version }}elseBUMP=${{ steps.bump.outputs.bump }}- NEW_VERSION=$(node -e "+ NEW_VERSION=$(bun run -e "const semver = require('semver');const current = '$CURRENT_VERSION';const bump = '$BUMP';@@ -64,11 +65,11 @@ jobs:- name: Update version in package.jsonrun: |NEW_VERSION=${{ steps.new_version.outputs.version }}- npm version $NEW_VERSION --no-git-tag-version+ bun x npm version $NEW_VERSION --no-git-tag-version- name: Generate changelogrun: |- conventional-changelog -p angular -i CHANGELOG.md -s+ bunx conventional-changelog -p angular -i CHANGELOG.md -s- name: Create Release Commitrun: |