Skip to content

Commit

Permalink
[Config] change log automation (#25)
Browse files Browse the repository at this point in the history
* ci: versionrc created to use conventional commits

* chore(release): 0.1.0

* chore(release): 0.1.1

* ci: formatter for changelog automation

* chore(release): 0.1.2
  • Loading branch information
Ji Sang Seo authored Feb 17, 2024
1 parent 4cb2b83 commit f050a5d
Show file tree
Hide file tree
Showing 6 changed files with 2,076 additions and 69 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.DS_Store
.DS_Store
.env
64 changes: 64 additions & 0 deletions .versionrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"types": [
{
"type": "chore",
"section": "Others",
"hidden": false
},
{
"type": "revert",
"section": "Reverts",
"hidden": false
},
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "improvement",
"section": "Feature Improvements",
"hidden": false
},
{
"type": "docs",
"section": "Docs",
"hidden": false
},
{
"type": "style",
"section": "Styling",
"hidden": false
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": false
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "ci",
"section": "CI",
"hidden": false
}
]
}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.1.2](https://github.com/dovigod/workflow-cli/compare/v0.1.1...v0.1.2) (2024-02-17)


### CI

* formatter for changelog automation ([7b2c517](https://github.com/dovigod/workflow-cli/commit/7b2c517cc6e411832825991455c64bbe787fbe64))

### [0.1.1](https://github.com/dovigod/workflow-cli/compare/v0.1.0...v0.1.1) (2024-02-17)


### CI

* versionrc created to use conventional commits ([ea4f3d2](https://github.com/dovigod/workflow-cli/commit/ea4f3d26a83c349781203cadf405f8043002fb3d))


### Others

* **release:** 0.1.0 ([82c76d8](https://github.com/dovigod/workflow-cli/commit/82c76d89f15f61aa58f251239ac1824f10542151))

# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
20 changes: 20 additions & 0 deletions conventionalGithubReleaser.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import "dotenv/config";
import conventionalGithubReleaser from "conventional-github-releaser";

conventionalGithubReleaser(
{
type: "oauth",
url: "https://api.github.com/",
token: process.env.GITHUB_TOKEN,
},
{
preset: "angular",
},
(e, release) => {
if (e) {
console.error(e);
process.exit(1);
}
process.exit(0);
}
);
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oh-my-task",
"version": "0.1.0",
"version": "0.1.2",
"description": "OH-MY-TASK is mainly focused on helping indie developers to manage their projects neatly.",
"main": "cli/oh-my-task.mjs",
"bin": {
Expand All @@ -14,6 +14,7 @@
"omt-finish": "cli/oh-my-task-finish.mjs"
},
"scripts": {
"release": "standard-version",
"pub": "node ./versionManager.mjs",
"pub:major": "node ./versionManager.mjs --major",
"pub:minor": "node ./versionManager.mjs --minor",
Expand All @@ -37,5 +38,10 @@
"commander": "^12.0.0",
"path": "^0.12.7",
"yaml": "^2.3.4"
},
"devDependencies": {
"conventional-github-releaser": "^3.1.5",
"dotenv": "^16.4.4",
"standard-version": "^9.5.0"
}
}
}
Loading

0 comments on commit f050a5d

Please sign in to comment.