Skip to content

Commit 9b22b0e

Browse files
committed
🧑‍💻 dev snapshot docs
1 parent 211fe1e commit 9b22b0e

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/reset-dev.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
#!/bin/bash -e
22
if [ -z "$1" ]; then
33
git pull
4-
#git --no-pager tag | tac | head -n 5
5-
git --no-pager tag | tail -n 5
6-
echo -e "\033[37;42;1mWhich tag to show from?\033[0m"
7-
read _tag
4+
_df=$(git rev-parse --short HEAD^1)
5+
HL=$'\e[37;42;1m'
6+
git --no-pager log --oneline --graph --decorate --color=always -n 10 \
7+
| sed "/${_df}/ s/.*/${HL}& <====/"
88

9-
git --no-pager log --oneline --graph --all $_tag..HEAD
10-
echo -e "\033[37;42;1mWhich commit to reset to?\033[0m"
9+
echo -e "\033[37;42;1mWhich commit to reset to? ($_df)\033[0m"
1110
read _hash
1211
if [ -z "$_hash" ]; then
13-
_hash=$(git rev-parse --short HEAD^1)
14-
echo "use HEAD^1 by default $_hash"
12+
_hash="$_df"
1513
fi
1614
else
1715
_hash="$1"

layers/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fessional/razor-common",
3-
"version": "0.8.1",
3+
"version": "0.8.2-dev.0",
44
"description": "common layer for mobile and desktop",
55
"type": "module",
66
"main": "./nuxt.config.ts",

layers/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fessional/razor-desktop",
3-
"version": "0.8.1",
3+
"version": "0.8.2-dev.0",
44
"description": "desktop layer with vuetify",
55
"type": "module",
66
"main": "./nuxt.config.ts",

layers/mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fessional/razor-mobile",
3-
"version": "0.8.1",
3+
"version": "0.8.2-dev.0",
44
"description": "mobile layer with ionic and capacitor",
55
"type": "module",
66
"main": "./nuxt.config.ts",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fessional/razor",
3-
"version": "0.8.1",
3+
"version": "0.8.2-dev.0",
44
"description": "Use front-end tech (Nuxt/Ts) to build multi-platform from one codebase, suitable for small team and app to write app once, apply almost anywhere.",
55
"type": "module",
66
"files": [

readme-zh.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ pnpm ver:dev # 进入 pre 模式
168168
pnpm ver:add # 0.8.1-dev.# 快照版
169169
git push -f # 强制覆盖 dev
170170
git pull
171+
## 等待 github action 的 PR,若合并则发布 npmjs
171172
.github/reset-dev.sh # 重置 dev.#
172173

173174
pnpm ver:ved # 退出 pre 模式

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ pnpm ver:dev # enter pre mode
166166
pnpm ver:add # 0.8.1-dev.# snapshot
167167
git push -f # force push dev
168168
git pull
169+
## waiting PR from github action, publish to npmjs if merged
169170
.github/reset-dev.sh # reset dev.#
170171

171172
pnpm ver:ved # exit pre mode

0 commit comments

Comments
 (0)