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

Check for repository variable #19

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

whikloj
Copy link
Contributor

@whikloj whikloj commented Dec 20, 2023

This PR starts a check for a Repository Variable called FCREPO_SPECIAL_RELEASE_TAG which has the format of fcrepo-X.Y.Z and matches a tag on the fcrepo/fcrepo repository.

You would set this variable on this repository under

Settings -> Security -> Secrets & Variables -> Actions

On the "Variables" tab, you would add a "Repository Variable" of FCREPO_SPECIAL_RELEASE_TAG and value of the release to be building.

For instance, right now it should be fcrepo-6.4.1.

Then when this runs it will use that variable instead of trying to find the most recent tagged version. Once we release a newly tagged version, the repository variable can be deleted and the action will revert to normal behaviour.

Copy link
Collaborator

@tomcbe tomcbe left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this.

Looks good to me.

@tomcbe tomcbe merged commit 58dc7bd into fcrepo-exts:main Jan 25, 2024
@whikloj whikloj deleted the FCREPO-3913 branch January 25, 2024 17:02
@Surfrdan
Copy link
Contributor

FCREPO_SPECIAL_RELEASE_TAG variable has been set to fcrepo-6.4.1 as requested

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.

3 participants