Skip to content

Commit acb7d6f

Browse files
16 feature publish library to arduino (#28)
1 parent cd78fa8 commit acb7d6f

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md renamed to .github/pull_request_template.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ assignees: '@totally-not-frito-lays'
1111

1212
Closes the following issues (all PRs must close an issue):
1313

14-
-
14+
- closes `REPLACEME WITH ISSUE #`
1515

1616
**What's being changed**
1717

@@ -26,4 +26,6 @@ Closes the following issues (all PRs must close an issue):
2626
**Check off the following**
2727

2828
- [ ] I have tested my changes locally
29-
- [ ] I have assigned a codeowner as a reviewer (default is @totally-not-frito-lays)
29+
- [ ] I have incremented the version number in the [library.properties](/library.properties) file [^1]
30+
31+
[^1]: See [CONTRIBUTING.md](/CONTRIBUTING.md) for more information on version semantics

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ Each feature has an overarching branch that is prefixed with `<issue number>-fea
4747
![Branching Strategy](./docs/assets/branching.png)
4848
[Branching Strategy](https://excalidraw.com/#json=a5Nm80xPT2uzbYwdAoNp4,Yggmz2D6xa9LTu0WR1loQw)
4949

50+
## Git Versioning Semantics
51+
52+
Git Version Tags / Release Tags are required to be accepted into the Arduino Registry. The current version should be reflected in [library.properties](/library.properties)
53+
54+
Each new PR should increment the current release version in the following format `version.feature.patch`:
55+
- `1.0.0` for full new versions that has major rewrites in the corresponding instruction material
56+
- `0.1.0` for new features or activities
57+
- `0.0.1` for bug patches or fixes
58+
59+
When the release version is incremented, any numbers to the right are reset to 0.
60+
61+
- Ex: New major version: `0.2.0` -> `1.0.0`
62+
- Version `0 -> 1`
63+
- Feature `2 -> 0`
64+
- Patch `0 -> 0`
65+
- Ex: New feature: `4.8.2` -> `4.9.0`
66+
- Version `4`
67+
- Feature `8 -> 9`
68+
- Patch `2 -> 0`
69+
- Ex: New patch: `5.4.22` -> `5.4.23`
70+
- Version `5`
71+
- Feature `4`
72+
- Patch `22 -> 23`
5073

5174
## FAQ
5275

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=CC-Lantern
2-
version=0.2.0
2+
version=1.0.0
33
author=Code With Her
44
maintainer=Ryan <[email protected]>
55
sentence=Arduino library for controlling single-wire-based LED pixels and strip.

0 commit comments

Comments
 (0)