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

[9.5 branch ] Add .github/workflows/auto_tag_stable.yml #4323

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Nov 16, 2024

This workflow automatically updates and pushes the 'stable' tag when commits are pushed to the branch pointed by /~https://github.com/OSGeo/PROJ/settings/variables/actions/STABLE_BRANCH

Workflow experimented in a toy repository in /~https://github.com/rouault/try_autotag/actions

@rouault rouault added the backport master Mostly to forward-port documentation changes from the stable branch coming from "Edit on GitHub" label Nov 16, 2024
@rouault rouault force-pushed the auto_tag_stable branch 2 times, most recently from 9dae7b8 to b7d0f9c Compare November 16, 2024 15:29
This workflow automatically updates and pushes the 'stable' tag
when commits are pushed to the branch pointed by
/~https://github.com/OSGeo/PROJ/settings/variables/actions/STABLE_BRANCH
@rouault
Copy link
Member Author

rouault commented Nov 16, 2024

Once this is merged, we need to update the RtD configuration:

@rouault rouault merged commit 38a05e5 into OSGeo:9.5 Nov 18, 2024
22 checks passed
@rouault
Copy link
Member Author

rouault commented Nov 18, 2024

First run successful: /~https://github.com/OSGeo/PROJ/actions/runs/11890393496/job/33128939801 has created /~https://github.com/OSGeo/PROJ/tree/stable

@rouault
Copy link
Member Author

rouault commented Nov 18, 2024

That required additional fine tuning with 25e7cbd and 1ddaee4 because otherwise the "stable" tag and "9.5" branch were exactly the same commit, and apparently that confused RTD that only triggered the build for the "9.5" branch and not the "stable tag". Now we add a dummy commit to the stable tag, and RTD seems happy now and automatically triggers a stable build: https://readthedocs.org/projects/osgeo-proj/builds/

@rouault
Copy link
Member Author

rouault commented Nov 18, 2024

ok, "stable" RTD build went fine, and 2 configuration items of #4323 (comment) now updated. We should be all good now ! (CC @jjimenezshaw )

@jjimenezshaw
Copy link
Contributor

Thank you @rouault !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport master Mostly to forward-port documentation changes from the stable branch coming from "Edit on GitHub"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants