👷 Adds Rudimentary Continuous Delivery Pipeline

This commit is contained in:
Bruce Markham
2020-03-15 20:44:27 -04:00
parent f2871069bc
commit 5ee5d2209a
6 changed files with 147 additions and 1 deletions

44
release.config.js Normal file
View File

@@ -0,0 +1,44 @@
module.exports = {
branches: [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{ name: "beta", prerelease: true },
{ name: "alpha", prerelease: true }
],
plugins: [
[
"semantic-release-gitmoji",
{
releaseRules: {
major: ["💥"],
minor: ["✨", "🏗", "⚡"],
patch: ["🐛", "🚑", "🔒", "♻", "💚", "⬆", "⬇", "", "", "🔧", "📝", "🔥", "👷‍♂️", "🔨", "⏪", "🚚"]
}
}
],
[
"@semantic-release/npm",
{
npmPublish: true,
tarballDir: "./dist/"
}
],
[
"@semantic-release/git",
{
message: "🔖 ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
assets: [
{
path: "./dist/*.tgz",
name: "vb6-antlr4-${nextRelease.version}.tgz"
}
]
}
]
]
};