Skip to content

Commit ad5be32

Browse files
committed
Add instructions on releasing to README (#286)
1 parent c7d1d17 commit ad5be32

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,18 @@ Run workflows on the web server, passing `data`, `flux`, and `fix`:
109109

110110
[http://localhost:8080/xtext-service/run?data='1'{'a': '5', 'z': 10}&flux=as-lines|decode-formeta|fix|encode-formeta(style="multiline")&fix=map(a,b) map(\_else)](http://localhost:8080/xtext-service/run?data=%271%27{%27a%27:%20%275%27,%20%27z%27:%2010}&flux=as-lines|decode-formeta|fix|encode-formeta(style=%22multiline%22)&fix=map(a,c)%20map(\_else))
111111

112+
## Releasing
113+
114+
Create a release and packages on GitHub:
115+
116+
- Change the `version` in `build.gradle`: remove `-SNAPSHOT`
117+
- Commit and tag that state (e.g. `git tag 0.4.0`), push the tag (e.g. `git push origin 0.4.0`)
118+
- Push that state to the `publish` branch to create GitHub packages: `git push origin master:publish`
119+
- Create a local runner distribution: `./gradlew distZip`
120+
- Create a release on GitHub: https://github.com/metafacture/metafacture-fix/releases, choose the new tag
121+
- Attach the runner zip from `metafacture-fix/metafix-runner/build/distributions`
122+
- Update the `version` in `build.gradle`: increase number, add `-SNAPSHOT`
123+
112124
## Functions and cookbook
113125

114126
### Best practices and guidelines for working with Metafacture Fix

0 commit comments

Comments
 (0)