You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dispatch-releases feature implicitly relies on the fact that GitHub Releases automatically creates a tag if you ask it to create a GitHub Release for a given tag name, which we do.
However when only hosting with axo Releases, that means we won't create a tag at all. Conceptually this is an easy fix. Just add the following here:
{{%- elif workflow_dispatch or release_branch %}}# TODO: if github releases are disabled AND we're using a non-tag-first workflow,# then we're responsible for creating and pushing the tag!
- name: "tag commit"run: | git tag ${{ needs.plan.outputs.tag }} git push origin tag ${{ needs.plan.outputs.tag }}{{%- endif %}}
But the exact details of how we invoke git here might want to be refined.
The text was updated successfully, but these errors were encountered:
The dispatch-releases feature implicitly relies on the fact that GitHub Releases automatically creates a tag if you ask it to create a GitHub Release for a given tag name, which we do.
However when only hosting with axo Releases, that means we won't create a tag at all. Conceptually this is an easy fix. Just add the following here:
cargo-dist/cargo-dist/templates/ci/github/release.yml.j2
Line 593 in c1526bc
But the exact details of how we invoke git here might want to be refined.
The text was updated successfully, but these errors were encountered: