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

Updated gh actions for release #1128

Merged
merged 3 commits into from
Jun 26, 2021

Conversation

ErikDanielsson
Copy link
Contributor

This should hopefully solve #1073.

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@ErikDanielsson ErikDanielsson requested a review from ewels June 24, 2021 14:13

dir:
- latest
- ${{ github.ref }}
Copy link
Member

Choose a reason for hiding this comment

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

This is meant to be just the release name, right? I think that the ref gives something like refs/tags/0.3.1 or similar.

In the past I've used ${{ github.event.release.tag_name }} for this. eg.

docker push nfcore/${{ matrix.image }}:${{ github.event.release.tag_name }}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is true, I thought we would only get 0.3.1 but I misread the docs. Either way, github.event.release.tag_name shows more clearly what we are trying to achieve.

.github/workflows/tools-api-docs-release.yml Outdated Show resolved Hide resolved
Co-authored-by: Phil Ewels <phil.ewels@scilifelab.se>
@ewels ewels merged commit aa1a82d into nf-core:dev Jun 26, 2021
@ErikDanielsson ErikDanielsson deleted the update-release-gh-actions branch July 25, 2022 09:02
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.

2 participants