⚡ 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
Andrej9d6d1ada8bad
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 251f08083..820a6d9f1 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -31,6 +31,7 @@ jobs:bun add -g conventional-changelog-clibun add -g conventional-recommended-bumpbun add -g conventional-changelog-angular+ bun add -g semver- name: Get version bumpid: bump@@ -48,24 +49,21 @@ jobs:- name: Calculate new versionid: new_versionrun: |- CURRENT_VERSION=${{ steps.current_version.outputs.version }}if [ -n "${{ inputs.version }}" ]; then- NEW_VERSION=${{ inputs.version }}+ echo "version=${{ inputs.version }}" >> $GITHUB_OUTPUTelse- BUMP=${{ steps.bump.outputs.bump }}NEW_VERSION=$(bun run -e "- const semver = require('semver');- const current = '$CURRENT_VERSION';- const bump = '$BUMP';+ import semver from 'semver';+ const current = '${{ steps.current_version.outputs.version }}';+ const bump = '${{ steps.bump.outputs.bump }}';console.log(semver.inc(current, bump));")+ echo "version=$NEW_VERSION" >> $GITHUB_OUTPUTfi- echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT- name: Update version in package.jsonrun: |- NEW_VERSION=${{ steps.new_version.outputs.version }}- bun x npm version $NEW_VERSION --no-git-tag-version+ bun x npm version ${{ steps.new_version.outputs.version }} --no-git-tag-version- name: Generate changelogrun: |