Skip to content

Commit

Permalink
docs: update devel.md for commit normalize message
Browse files Browse the repository at this point in the history
  • Loading branch information
ofilangi committed Apr 14, 2022
1 parent 378b9b8 commit 2a9fef0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,11 @@ jobs:
cp $(find ./js -name discovery-fastopt-bundle.js.map) ./dist/discovery-web-dev.js.map
cp $(find ./js -name discovery-opt-bundle.js) ./dist/discovery-web.js
if [[ ! -z "$(git status -s | grep -v -E "^\?\?")" ]]; then
if [[ ! -z "$(git status -s | grep -v -E "^\?\?")" ]]; then
git commit dist -m"[ci skip] - Javascript librairies publication"
git push -q https://${GITHUB_TOKEN}@github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git $BRANCH
fi
build_webpack_fullOptJS_npm_publish:
executor: openjdk
steps:
Expand Down Expand Up @@ -324,6 +325,8 @@ jobs:
- image: circleci/golang:1.16
steps:
- checkout
- node/install:
node-version: '17.9'
- attach_workspace:
at: build
- run:
Expand All @@ -337,6 +340,7 @@ jobs:
# -------------------------------------------------------
if [ "LAST_VERSION" != "VERSION" ]; then
go get github.com/tcnksm/ghr
npm install generate-changelog -g
ghr -t ${GITHUB_TOKEN} \
-u ${CIRCLE_PROJECT_USERNAME} \
-r ${CIRCLE_PROJECT_REPONAME} \
Expand Down
20 changes: 20 additions & 0 deletions devel.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,23 @@ npm view @p2m2/discovery version -> list published version
npm unpublish @p2m2/discovery@X.X.X -> unpublished lib
npm publish --access public
```
### generate-changelog / Usage


```
type(category): description [flags]
Where type is one of the following:
```
* breaking
* build
* ci
* chore
* docs
* feat
* fix
* other
* perf
* refactor
* revert
* style
* test

0 comments on commit 2a9fef0

Please sign in to comment.