diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index df8e3d0..4fca052 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -35,14 +35,17 @@ jobs: - name: Bump version and generate changelog run: yarn release + - name: Extract version from package.json + run: echo "VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV + - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: v${{ env.VERSION }} + release_name: Release v${{ env.VERSION }} body_path: CHANGELOG.md draft: false prerelease: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 312da47..519c3dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.1.2](https://github.com/montasim/node-express-boilerplate/compare/v1.1.1...v1.1.2) (2024-08-17) + +### Bug Fixes + +- bump version and generate changelog ([4ca21ab](https://github.com/montasim/node-express-boilerplate/commit/4ca21ab6f4c0ee652c755f83d9ba32492a3265f0)) +- bump version and generate changelog ([3059197](https://github.com/montasim/node-express-boilerplate/commit/30591971b1b5dd032dfa480a31d088c7c750d484)) + ### [1.1.1](https://github.com/montasim/node-express-boilerplate/compare/v1.1.0...v1.1.1) (2024-08-17) ### Bug Fixes diff --git a/package.json b/package.json index 17aa3fb..58ac8c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-express-boilerplate", - "version": "1.1.1", + "version": "1.1.2", "description": "", "private": true, "main": "server.js",