Skip to content

Conversation

@drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Apr 11, 2022

This adds a workflow that will be run anytime that a tag starting with the letter "v" is pushed to openwebwork/webwork-open-problem-library. The workflow will execute modified versions of the OPL-update and generate-OPL-set-def-lists.pl scripts from openwebwork/webwork2 bin and generate a database dump and json files that can be used by the webwork2 docker build (or directly for anyone that doesn't want to wait for OPL-update).

A corresponding pull request to openwebwork/webwork2 sets this up for docker, and adds a script that others can use to directly set up a server to use the latest release created by this workflow.

You can test this workflow by copying the branch for this pull request to your fork, and then pushing a tag that starts with the letter "v".

@drgrice1 drgrice1 force-pushed the generate-release-workflow branch from 074eec5 to 8e6b2f5 Compare April 12, 2022 15:55
Copy link
Member

@pstaabp pstaabp left a comment

Choose a reason for hiding this comment

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

This works as advertised. @drgrice1 I see no reason to not merge this.

@drgrice1
Copy link
Member Author

There is one thing to decide in addition to merging this. That is what to use for the version naming scheme. This pull request leaves that open. The only restriction is that it begin with the letter v. I was thinking something like "v2022-04-14".

@pstaabp
Copy link
Member

pstaabp commented Apr 15, 2022

The only restriction is that it begin with the letter v. I was thinking something like "v2022-04-14".

I think that seems reasonable with the OPL since we won't have major/minor releases like software, which is the other standard way.

Copy link
Member

@drdrew42 drdrew42 left a comment

Choose a reason for hiding this comment

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

I like the suggestion to name version releases as vYYYY-MM-DD

@drdrew42 drdrew42 merged commit 2d2c709 into openwebwork:master Apr 15, 2022
@drgrice1 drgrice1 deleted the generate-release-workflow branch April 15, 2022 18:05
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