diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ce89cfd8..954fc9571 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ name: Release on: push: tags: - - 'v*' + - '*' jobs: release: diff --git a/rel-eng/gem_release.ipynb b/rel-eng/gem_release.ipynb index 3a2fa121c..c9397291f 100644 --- a/rel-eng/gem_release.ipynb +++ b/rel-eng/gem_release.ipynb @@ -1349,9 +1349,7 @@ { "cell_type": "markdown", "metadata": {}, - "source": [ - "### Build the gem" - ] + "source": "### Build the gem (local sanity check only)\n\nPublishing to rubygems.org is now handled automatically by the `Release` GitHub Actions\nworkflow, which triggers on tag push (see the final `git push --tags` step below) and\npublishes via rubygems.org trusted publishing. Do **not** `gem push` manually here — it\nwould either race with CI or fail because the version is already published." }, { "cell_type": "code", @@ -1362,15 +1360,6 @@ "! rake build" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "! gem push pkg/hammer_cli-{NEW_VERSION}.gem" - ] - }, { "cell_type": "markdown", "metadata": {},