diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml index 0df48de7..d8ba8c2f 100644 --- a/.github/workflows/release-management.yml +++ b/.github/workflows/release-management.yml @@ -2,13 +2,15 @@ name: Release Management on: push: - branches: [ master ] + # branches: [ master ] + branches: [ release/* ] jobs: test_and_build: name: Test and build runs-on: ubuntu-20.04 outputs: + tag: ${{ steps.check_package_version.outputs.version }} version_changed: ${{ steps.check_package_version.outputs.changed }} steps: - name: Clone repository @@ -71,11 +73,10 @@ jobs: # `test_and_build` job first so this job is skipped rather than exited with an error. - name: Publish matching GitHub release draft id: github_release - uses: JamesMGreene/node-draft-releaser@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - allow_release_name_update: 'false' + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} + run: gh release edit "${{ needs.test_and_build.outputs.tag }}" --draft=false - name: Write out the release URL run: echo "Released at $RELEASE_URL" diff --git a/package-lock.json b/package-lock.json index c8820ba8..a8df1a8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@react-ui-org/react-ui", - "version": "0.55.1", + "version": "0.56.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@react-ui-org/react-ui", - "version": "0.55.1", + "version": "0.56.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 910c9c60..b604286b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@react-ui-org/react-ui", "description": "React UI is a themeable UI library for React apps.", - "version": "0.55.1", + "version": "0.56.0", "keywords": [ "react", "ui",