diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml deleted file mode 100644 index 9000e6b..0000000 --- a/.github/workflows/release-github.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Github Release - -permissions: - contents: write - -on: - create: - -jobs: - create-release: - if: ${{ startsWith( github.ref, 'refs/tags/v' ) }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3.2.0 - - - uses: taiki-e/create-gh-release-action@v1.6.2 - with: - # (Optional) Path to changelog. - changelog: changelog.md - # (Required) GitHub token for creating GitHub Releases. - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf52d27..9a28468 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,6 +66,14 @@ jobs: force_push_tag: true message: "Latest Release" + - name: Create Github Release + uses: taiki-e/create-gh-release-action@v1.6.2 + with: + title: ${{ env.VERSION }} + changelog: changelog.md + token: ${{ secrets.GITHUB_TOKEN }} + ref: refs/tags/v${{ env.VERSION }} + - name: Commit Version Bump uses: EndBug/add-and-commit@v9.1.1 with: diff --git a/box.json b/box.json index 50c9416..9ef7a14 100644 --- a/box.json +++ b/box.json @@ -1,6 +1,6 @@ { "name":"Default ColdBox App Template", - "version":"6.19.0", + "version":"6.18.0", "author":"You", "location":"forgeboxStorage", "slug":"cbtemplate-advanced-script",