Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit 58336c2

Browse files
author
Bassem Dghaidi
authored
Merge pull request #5 from mena-devs/develop
Update pipelines & prepare release 0.1.9
2 parents d21259c + 260b1d3 commit 58336c2

File tree

5 files changed

+36
-3
lines changed

5 files changed

+36
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Build & Test
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [ master, develop ]
99
pull_request:
1010
branches: [ master ]
1111

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
- run: npm ci
3030
- run: npm publish
3131
env:
32-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,3 +274,7 @@ console.dir(result, {depth: null});
274274
## Contributing
275275

276276
This project does not require a Contributor License Agreement.
277+
278+
### Release Process
279+
280+
Release checklist and process is documented in [Release.md](https://github.com/mena-devs/objectron/blob/master/RELEASE.md)

RELEASE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Release
2+
3+
## Semantic versioning
4+
5+
Given a version number MAJOR.MINOR.PATCH, increment the:
6+
7+
- `MAJOR` version when you make incompatible API changes,
8+
- `MINOR` version when you add functionality in a backwards compatible manner, and
9+
- `PATCH` version when you make backwards compatible bug fixes.
10+
11+
Additional labels for pre-release and build metadata are available as extensions to the `MAJOR.MINOR.PATCH` format.
12+
13+
Reference: https://semver.org/
14+
15+
## Pre-release checklist
16+
17+
Make sure you cover all the steps below for a new version release.
18+
19+
- [ ] Update the release version number in `package.json`
20+
- [ ] Merge your feature branch with the `develop` branch
21+
- [ ] Rebase all changes from upstream to your local develop branch
22+
- [ ] Create a pull request from the `develop` branch to the master branch
23+
- [ ] Make sure the title of your pull request contains the new release version
24+
- [ ] In GitHub actions verify that your pull request passes the `Build & Test` workflow
25+
- [ ] Get your pull request reviewed by at least 1 other contributor to the project
26+
- [ ] If all the checks and code reviews are done, `rebase and merge` the develop branch with the `master` branch
27+
- [ ] In GitHub create a tag and a release from the recently merged pull request
28+
- [ ] In GitHub actions verify that the `Publish NPM` job has completed successfully
29+
- [ ] Verify that everything is correct in the package's npm page: https://www.npmjs.com/package/@menadevs/objectron

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@menadevs/objectron",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Compares a set of match rules contained with an object to determine if the latter conforms to the matching rules",
55
"main": "index.js",
66
"devDependencies": {

0 commit comments

Comments
 (0)