File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,22 @@ Documentation is available on the [project website](https://teamhyper.github.io/
88
99Also check out the [ wiki] ( https://github.com/teamhyper/hyperlib/wiki ) .
1010
11+ # Release process
12+
13+ We currently publish to a maven repo at < https://hyperlib.hyperonline.org > ,
14+ using ` gradle publish ` . The publishing job infers the version number from the
15+ most recent * annotated* git tag. So to do a release (say ` 2.0.0 ` ), you would
16+ ensure your work is committed and you have master checked out, then run:
17+
18+ ``` bash
19+ git tag -a v2.0.0
20+ ./gradlew publish -PhyperlibUser=... -PhyperlibPassword=...
21+ ```
22+
23+ Note that the second line starts with a space, so bash will not save the
24+ credentials to ` ~/.bash_history ` . Ask James or Chris for the necessary
25+ credentials.
26+
1127# License
1228Copyright 2016-2019 James Hagborg, Christopher McGroarty, Timothy Nguyen
1329
Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ publishing {
119119 repositories {
120120 maven {
121121 credentials {
122- username = hyperlibUser
123- password = hyperlibPassword
122+ username = project . properties . hyperlibUser
123+ password = project . properties . hyperlibPassword
124124 }
125125 name = ' hyperonline'
126126 url = ' sftp://hyperlib.hyperonline.org:22/home/hyperlib/webapps/hyperlib-repo'
You can’t perform that action at this time.
0 commit comments