-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
5,017 additions
and
2,181 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{{#if compareUrl}} | ||
# [v{{nextRelease.version}}]({{compareUrl}}) ({{datetime "UTC:yyyy-mm-dd"}}) | ||
{{else}} | ||
# v{{nextRelease.version}} ({{datetime "UTC:yyyy-mm-dd"}}) | ||
{{/if}} | ||
|
||
{{#with commits}} | ||
|
||
{{#if boom}} | ||
## 💥 Breaking Changes | ||
{{#each boom}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if sparkles}} | ||
## ✨ New Features | ||
{{#each sparkles}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if bug}} | ||
## 🐛 Bug Fixes | ||
{{#each bug}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if ambulance}} | ||
## 🚑 Critical Hotfixes | ||
{{#each ambulance}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if lock}} | ||
## 🔒 Security Issues | ||
{{#each lock}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if arrow_up}} | ||
## ⬆️ Dependency Upgrade | ||
{{#each arrow_up}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if memo}} | ||
## 📝️ Documentation | ||
{{#each memo}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if construction_worker}} | ||
## 📝️ CI/CD | ||
{{#each construction_worker}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if white_check_mark}} | ||
## 🧪️ Add / Update / Pass Tests | ||
{{#each white_check_mark}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if test_tube}} | ||
## 🧪️ Add Failing Tests | ||
{{#each test_tube}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if recycle}} | ||
## ♻️Refactoring | ||
{{#each recycle}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{#if truck}} | ||
## 🚚 Moving/Renaming | ||
{{#each truck}} | ||
- {{> commitTemplate}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{/with}} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
const path = require("path"); | ||
const fs = require("fs"); | ||
|
||
const semantic_release_dir = path.resolve(__dirname, ".github/semantic_release"); | ||
const release_note_path = path.join(semantic_release_dir, "release_notes.hbs"); | ||
const release_note_template = fs.readFileSync(release_note_path, "utf-8"); | ||
|
||
module.exports = { | ||
branches: [ | ||
"main", | ||
"master", | ||
"next", | ||
"next-major", | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
{ | ||
name: "beta", | ||
prerelease: true, | ||
}, | ||
{ | ||
name: "alpha", | ||
prerelease: true, | ||
}, | ||
], | ||
plugins: [ | ||
[ | ||
"semantic-release-gitmoji", | ||
{ | ||
releaseNotes: { | ||
template: release_note_template, | ||
}, | ||
}, | ||
], | ||
[ | ||
"@semantic-release/exec", | ||
{ | ||
prepareCmd: "poetry version ${nextRelease.version} && poetry build", | ||
}, | ||
], | ||
[ | ||
"@google/semantic-release-replace-plugin", | ||
{ | ||
replacements: [ | ||
{ | ||
files: ["*/_version.py"], | ||
ignore: ["tests/*"], | ||
from: '__version__ = ".*"', | ||
to: '__version__ = "${nextRelease.version}"', | ||
}, | ||
], | ||
}, | ||
], | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
assets: ["pyproject.toml", "*/_version.py"], | ||
message: | ||
"🔖 camply ${nextRelease.version}\n\n${nextRelease.notes}\n[skip ci]", | ||
}, | ||
], | ||
[ | ||
"@semantic-release/github", | ||
{ | ||
assets: [ | ||
{ | ||
path: "dist/*.whl", | ||
}, | ||
{ | ||
path: "dist/*.tar.gz", | ||
}, | ||
], | ||
}, | ||
], | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.