Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit6d2b78a

Browse files
committed
refactor:
refactor release version/step
1 parentcac6212 commit6d2b78a

18 files changed

+39
-40
lines changed

‎CHANGELOG.md‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
1-
#Change Log
21

3-
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.
4-
5-
<aname="1.2.1"></a>
6-
##[1.2.1](https://github.com/coderplanets/coderplanets_server/compare/v1.2.0...v1.2.1) (2018-08-04)
7-
8-
9-
10-
<aname="1.2.0"></a>
11-
#[1.2.0](https://github.com/coderplanets/coderplanets_server/compare/v1.1.0...v1.2.0) (2018-08-04)
12-
13-
14-
###Features
15-
16-
***add release cli:** easy release based on commitizen ([7dbcfb4](https://github.com/coderplanets/coderplanets_server/commit/7dbcfb4))
17-
18-
19-
20-
<aname="1.1.0"></a>
21-
#1.1.0 (2018-08-04)
22-
23-
24-
###Features
25-
26-
* add commitizen as commit convention ([d6f821d](https://github.com/coderplanets/coderplanets_server/commit/d6f821d))

‎Makefile‎

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
include Makefile.mk
22

33
help:
4-
$(call publish.help)
4+
$(call commit.help)
5+
$(call release.help)
6+
$(call deploy.help)
57
$(call console.help)
68
$(call dashboard.help)
79
$(call ci.help)
810
$(call github.help)
11+
@echo"\n"
912

1013
init:
1114
mix ecto.setup
@@ -17,24 +20,32 @@ dep:
1720
build:
1821
mix compile
1922

23+
format:
24+
mix format
25+
2026
commit.help:
2127
$(call commit.help)
2228
@echo"\n"
2329
commit:
2430
@npx git-cz
31+
32+
# release
33+
release.help:
34+
$(call release.help)
35+
@echo"\n"
2536
release:
2637
npm run release
2738

28-
publish:
29-
$(callpublish.help)
39+
deploy:
40+
$(calldeploy.help)
3041
@echo"\n"
31-
publish.help:
32-
$(callpublish.help)
42+
deploy.help:
43+
$(calldeploy.help)
3344
@echo"\n"
34-
publish.dev:
35-
./publish/dev/packer.sh
36-
publish.prod:
37-
./publish/production/packer.sh
45+
deploy.dev:
46+
./deploy/dev/packer.sh
47+
deploy.prod:
48+
./deploy/production/packer.sh
3849

3950
# test
4051
test:

‎Makefile.mk‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OS := ${shell uname}
22

3-
.PHONY: testpublish
3+
.PHONY: testdeploy
44

55
BELONG = "coderplanets"
66
REPO = "coderplanets_server"
@@ -33,14 +33,14 @@ define browse
3333
$(BROWSER_TOOL) "$(1)"
3434
endef
3535

36-
definepublish.help
36+
definedeploy.help
3737
@echo "\n"
38-
@echo " [validpublish commands]"
38+
@echo " [validdeploy commands]"
3939
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
40-
@echo "publish.dev : pack & push code to aliyun for dev"
40+
@echo "deploy.dev : pack & push code to aliyun for dev"
4141
@echo " | need manually restart docker container on aliyun"
4242
@echo " ..............................................................."
43-
@echo "publish.prod : pack & push code to for produnction"
43+
@echo "deploy.prod : pack & push code to for produnction"
4444
@echo " | need manually restart docker container on aliyun"
4545
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
4646
endef
@@ -59,6 +59,18 @@ define commit.help
5959
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
6060
endef
6161

62+
definerelease.help
63+
@echo "\n"
64+
@echo " [valid release commands]"
65+
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
66+
@echo " release : release version by automatic CHANGELOG generation"
67+
@echo " | link: https://github.com/conventional-changelog/standard-version"
68+
@echo " | more:"
69+
@echo " | npm run release -- --prerelease"
70+
@echo " | npm run release -- --prerelease alpha"
71+
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
72+
endef
73+
6274
defineconsole.help
6375
@echo "\n"
6476
@echo " [valid console commands]"

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![codecov](https://codecov.io/gh/coderplanets/coderplanets_server/branch/dev/graph/badge.svg)](https://codecov.io/gh/coderplanets/coderplanets_server)
66
[![Inline docs](http://inch-ci.org/github/coderplanets/coderplanets_server.svg)](http://inch-ci.org/github/coderplanets/coderplanets_server)
77
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
8+
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
89

910
##Basic Architechture
1011
![Architechture](https://github.com/mydearxym/mastani_server/blob/master/docs/snapshots/Architechture.png)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp