Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mark version as non-draft after release CI completes #636

Merged
merged 2 commits into from Feb 14, 2024

Conversation

orhun
Copy link
Contributor

@orhun orhun commented Feb 14, 2024

this might be a short term solution - not tested but I'm positive that it will work

- name: Set as latest release
if: startsWith(github.ref, 'refs/tags/v')
run: |
gh release edit "v${{ steps.metadata.outputs.project-version }}" --draft=false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think we could just as well use the tag from the github.ref, right? Instead of trying to get it from Cargo.toml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, 4224609

@orhun orhun requested a review from wolfv February 14, 2024 10:33
@wolfv
Copy link
Member

wolfv commented Feb 14, 2024

let's try with the next release :)

@wolfv wolfv merged commit 1e38047 into main Feb 14, 2024
@wolfv wolfv deleted the chore/set_latest_version_after_cd branch February 14, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants