@@ -12,7 +12,7 @@ If you have a PAT handy you can just do:
1212% echo $YOUR_GITHUB_PAT | docker login ghcr.io -u $YOUR_GITHUB_USERNAME --password-stdin
1313```
1414
15- ## Step 2. Determine the new point version and create a release branch,
15+ ## Step 2. Determine the new point version and create a release branch.
1616
1717```
1818% git checkout main
@@ -22,24 +22,11 @@ pex-v0.1
2222pex-v0.1.14
2323prha
2424v0.1
25- v0.1.10
26- v0.1.11
27- v0.1.12
28- v0.1.13
29- v0.1.14
30- v0.1.15
31- v0.1.16
32- v0.1.17
33- v0.1.18
34- v0.1.19
35- v0.1.20
36- v0.1.21
25+ v1.10.12
3726```
3827
39- The point version is the next unused ` v0.1.* ` version, eg ` v0.1.22 ` above. Create a release branch
40-
4128```
42- % git checkout -b release-0.1.22
29+ % git checkout -b release-1.10.13
4330```
4431
4532## Step 3. Build and deploy a new docker-cloud-action image, a new dagster.cloud.pex and update code references to docker
@@ -48,8 +35,7 @@ A script does this work. **Note**: a virtual environment using Python3.11 is req
4835
4936``` bash
5037# Note no 'v' prefix
51- # This accepts `NEW_VERSION OLD_VERSION` so it can update code references from the old to the new version.
52- python scripts/release.py create-rc 0.1.22 0.1.21
38+ python scripts/release.py create-rc 1.10.13
5339```
5440
5541This leaves uncommitted changes in the working directory.
@@ -64,17 +50,17 @@ git diff
6450git add . && git commit -m " Rebuild"
6551
6652# Tag: using '-a' lets us add an annotation message, typically we use the version "v0.1.22"
67- git tag -a v0.1.22
53+ git tag -a v1.10.13
6854```
6955
7056# Step 5. Push and Test
7157
7258``` bash
7359# push the release branch
74- git push --set-upstream origin release-0.1.22
60+ git push --set-upstream origin release-1.10.13
7561# push the tag
76- git push origin v0.1.22
77- # to test, change the reference in a github workflow yaml file `@v0.1 -> @v0.1.22` and `@pex-v0.1 -> @v0.1.22 `
62+ git push origin v1.10.13
63+ # to test, change the reference in a github workflow yaml file `@v0.1 -> @v0.1.22` and `@pex-v0.1 -> @v1.10.13 `
7864# see also dagster-cloud-action-test
7965```
8066
@@ -92,53 +78,17 @@ Hybrid:
9278If you make any changes and rebuild the rc, you need to retag and push the release tag:
9379
9480``` bash
95- python scripts/release.py create-rc 0.1.22 0.1.21
81+ python scripts/release.py create-rc 1.10.13
9682
9783# the only autogenerated change should be to the pex file because changes to the yamls have already committed
9884
9985# -f to force since the tag exists
100- git tag -f -a v0.1.22
101- git push -f origin v0.1.22
86+ git tag -f -a v1.10.13
87+ git push -f origin v1.10.13
10288
10389# test again, fix and repeat
10490```
10591
106- # Step 6. Promote
107- Most users point at a dot version tag for the GitHub Action, e.g. ` @v0.1 ` and ` @pex-v0.1 ` .
108- If you are releasing a fix or non-breaking feature, you want to move this tag so existing users get access to your changes.
109-
110- > Due an unfortunate bug, the ci-summary step in many user's workflow is pinned to v0.1.27, so we need v0.1.27 to follow v0.1 as well.
111- > See https://github.com/dagster-io/dagster-cloud-hybrid-quickstart/commit/2149359dd1076f3bcd6f652dc00cb74ac9c81636
112-
113- ``` bash
114- # use '-f' to force move the tag, since these tags already exist
115- git tag -f v0.1 v0.1.22
116- git tag -f pex-v0.1 v0.1.22
117- git tag -f v0.1.27 v0.1
118-
119- # needs a force push to move remote tags
120- git push -f origin v0.1
121- git push -f origin pex-v0.1
122- git push -f origin v0.1.27
123- ```
124-
125- Note: both ` v0.1 ` and ` pex-v0.1 ` tags should be kept in sync.
126-
127- # Step 7. Merge the release branch into main
128-
129- Create a PR, get approval, merge.
130-
131- # Step 8. (optional) Revert
132-
133- To revert, just tag the previous point version with the live tag and re push
134-
135- ``` bash
136- git tag -f v0.1 v0.1.21
137- git tag -f pex-v0.1 v0.1.21
138- git push -f origin v0.1
139- git push -f origin pex-v0.1
140- ```
141-
14292# Development and testing
14393
14494## Testing the dagster-cloud.pex against a Dagster development branch
0 commit comments