@@ -23,25 +23,26 @@ double CI build on Travis, also when merging PR, please **avoid merge commit**
2323Once all code and commits are in place and verified, you need to tag a
2424release.
2525
26- There are two options: you can tag ` master ` branch ` HEAD ` and push using commands:
26+ Tag ` master ` branch ` HEAD ` and push using commands:
2727
2828``` bash
2929$ git tag -a 3.1.0 -m " Release version 3.1.0"
3030$ git push origin 3.1.0
3131```
3232
33- Alternatively, you can use GitHub interface to tag: click "Draft a new release" and specify
34- tag using the interface (you can leave title field empty, tag will be used as
35- title in this case) and click "Publish release".
33+ (while it's also possible to use GitHub interface, we have decided not to do so, travis
34+ will, automatically, create the needed artifacts and perform the release)
3635
37- In either option, when the tag is pushed or created via interface, travis will
38- trigger a tag build that contains Deploy stage. At this stage it should
39- automatically create the ` moodle-plugin-ci.phar ` release artifact and add it
36+ When the tag is pushed, travis will trigger a tag build that contains Deploy stage.
37+ At this stage it should automatically create the ` moodle-plugin-ci.phar ` release artifact and add it
4038to the latest release "assets" on GitHub. Verify it has worked correctly by
41- navigating at
42- [ Releases] ( https://github.com/moodlehq/moodle-plugin-ci/releases ) .
39+ navigating at [ Releases] ( https://github.com/moodlehq/moodle-plugin-ci/releases ) .
4340
44- __ Note:__ Before triggering tag build, make sure that Travis is not running any
41+ While in that page, optionally, you can edit the release and add any content to
42+ the description (we use to put some constant links to the changelog / upgrade docs,
43+ but anything important can be commented if needed to).
44+
45+ __ Note:__ Before sending the tag upstream, make sure that Travis is not running any
4546builds, otherwise tag build might not get triggered. If this happenened, you
4647need to remove tag and push it again when Travis is not busy.
4748
0 commit comments