Closed infotexture closed 1 year ago
This shouldn't be too complex:
Dockerfile
master
and tagPossibly also create tag for major.minor
and force-push that.
If dita-ot/dita-ot
has a tag xxxx, then the following command will edit the Dockerfile
over here in dita-ot/dita-ot-action
sed -E 's/([0-9]{1,}.){1,}([0-9]){1,}/xxxx/g' Dockerfile > Dockerfile.tmp && mv Dockerfile.tmp Dockerfile
Description
So far, @jason-fox has bumped the DITA-OT version in the dita-ot-action/Dockerfile manually after each release, but since we were all busy at DITA-OT Day, we missed that step for the 4.0 release.
The Docker image currently uses 3.7.4:
Possible Solution
Could we automate this process as part of the normal DITA-OT release process?
I realize there may be a bit of a chicken-and-egg problem here, as the release may need to be published before this change can (or should) be made, but if the action code would at least generate a PR automatically, we could wait to merge the PR until the release has been published.