diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-tag.yml similarity index 93% rename from .github/workflows/auto-release.yml rename to .github/workflows/auto-tag.yml index 54ee0f0..f8dfa45 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-tag.yml @@ -11,8 +11,8 @@ concurrency: group: main-release-check jobs: - check-version: - name: Tag and Release + tag-and-changelog: + name: Changelog and Tag runs-on: ubuntu-latest steps: - name: Clean workspace @@ -45,7 +45,7 @@ jobs: changes=$(npx conventional-changelog-cli -r 1 | tail -n +2) git add CHANGELOG.md git commit -m "chore: Updating changelog for $version" - git tag $version -m "Release $version \n$changes" + git tag $version -m "Release $version $changes" git push origin $version git push origin main fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c00ad6c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Create Release + +on: + push: + tags: + - "**" + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }} + +jobs: + release: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Release + uses: softprops/action-gh-release@v0.1.15 diff --git a/package.json b/package.json index aae25a4..a195e07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chia-carbon/core-registry-logger", - "version": "1.0.0", + "version": "1.0.1", "description": "Custom logger for core registry projects", "main": "index.js", "scripts": { @@ -8,7 +8,7 @@ }, "author": "Chia Network", "email": "hello@chia.net", - "url": "https://www.chia.net/", + "homepage": "https://www.chia.net/", "license": "Apache-2.0", "repository": { "type": "git",