Skip to content

Commit 2788a4a

Browse files
authored
Merge pull request #344 from BuildingSync/docs/prerelease-notes
docs: add notes for making pre-releases
2 parents c0db78f + e3e3abb commit 2788a4a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish
22

33
on:
4-
tags:
5-
- 'v*.*.*'
4+
push:
5+
tags:
6+
- 'v*.*.*'
67

78
jobs:
89
publish:

docs/release_instructions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Follow the steps below when releasing a new version
77
* Checkout develop and pull the most recent changes
88

99
* Update the Version in the header of the XSD in three places:
10-
* Update in the <xs:schema ...> element.
11-
* Update in the first <xs:annotation> element.
12-
* Add enumeration to /version with the latest version
10+
* Update version the `/xs:schema@version`.
11+
* Update version in the "schema title", at `/xs:schema/xs:annotation/xs:documentation[1]`.
12+
* If creating an official release (i.e., you are NOT creating a pre-release), add the version as an enumeration to the `auc:BuildingSync` `version` attribute with the latest version. Though we historically added some pre-releases to `@version`, they should no longer be included.
1313

1414
* Update the CHANGELOG.md to include the latest changes, and the most recent version.
1515

16-
* Run the change_log.rb script (e.g. ruby src/change_log.rb -t abcdefghijklmnopqrstuvwxyz -s 2019-12-21).
16+
* Run the change_log.rb script (e.g., ruby src/change_log.rb -t abcdefghijklmnopqrstuvwxyz -s 2019-12-21). The date range must span from the last official release (ie don't start at a pre-release) until the current date.
1717
* Copy the results of this into the CHANGELOG. Remove items that are not useful to an end user such as version bumps, formatting, etc.
1818

1919
* Create a Pull Request into `master`
@@ -27,13 +27,13 @@ Check out master locally, pull changes, and create a tag and push it
2727
git checkout master && git pull
2828
git tag -a v<version> -m "<message>" [SHA]
2929
```
30-
Where `v<version>` is a valid [semantic version](https://semver.org/) (e.g. `v1.2` or `v1.2-pr.1`) and `<message>` is the tagging message (e.g. "First official release"). See [Versioning](versioning.md) for more information.
30+
Where `v<version>` is a valid [semantic version](https://semver.org/) (e.g., `v1.2.3` or `v1.2.3-pr.1`) and `<message>` is the tagging message (e.g. "First official release"). See [Versioning](versioning.md) for more information.
3131
```bash
3232
# push the tag
3333
git push origin
3434
```
3535

36-
This should trigger a GitHub workflow for building and publishing the release. Once the release has been successfully published on GitHub, continue.
36+
This should trigger a GitHub workflow for building and publishing the release. If publishing a pre-release, you are done. Otherwise, once the release has been successfully published on GitHub, continue.
3737

3838
### Update BuildingSync Website
3939

0 commit comments

Comments
 (0)