File tree Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.1.6
4+
5+ ### Patch Changes
6+
7+ - fix: 버전 관리 문제 해결을 위한 버전 범프
8+
9+ - develop 브랜치의 버전이 베타 접미사 없이 유지되는 문제 해결
10+ - npm에 이미 배포된 버전과 충돌 방지
11+
312## 1.1.5
413
514### Patch Changes
Original file line number Diff line number Diff line change 1+ # Check for version changes and update to beta
2+ TIMESTAMP=$(date +%s)
3+ CHANGED_PACKAGES=""
4+
5+ # Function to ensure beta version
6+ ensure_beta_version() {
7+ local current_version=$1
8+ local timestamp=$2
9+
10+ # If already has beta suffix, keep it
11+ if [[ "$current_version" == *"-beta."* ]]; then
12+ echo "$current_version"
13+ else
14+ # Add beta suffix
15+ echo "${current_version}-beta.${timestamp}"
16+ fi
17+ }
18+
19+ # Check main package
20+ CURRENT_MAIN=$(node -p "require('./package.json').version")
21+ NEW_MAIN=$(ensure_beta_version "$CURRENT_MAIN" "$TIMESTAMP")
22+
23+ # Always ensure beta version on develop branch
24+ if [ "$CURRENT_MAIN" != "$NEW_MAIN" ]; then
25+ npm version $NEW_MAIN --no-git-tag-version
26+ CHANGED_PACKAGES="vue-pivottable"
27+ fi
28+
29+ # Check sub-packages
30+ for pkg in packages/*/; do
31+ if [ -d "$pkg" ] && [ -f "$pkg/package.json" ]; then
32+ cd "$pkg"
33+ PKG_NAME=$(basename "$pkg")
34+ CURRENT_VERSION=$(node -p "require('./package.json').version")
35+ NEW_VERSION=$(ensure_beta_version "$CURRENT_VERSION" "$TIMESTAMP")
36+
37+ # Always ensure beta version on develop branch
38+ if [ "$CURRENT_VERSION" != "$NEW_VERSION" ]; then
39+ npm version $NEW_VERSION --no-git-tag-version
40+ CHANGED_PACKAGES="$CHANGED_PACKAGES $PKG_NAME"
41+ fi
42+ cd -
43+ fi
44+ done
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-pivottable" ,
3- "version" : " 1.1.5 " ,
3+ "version" : " 1.1.6-beta.1750398708 " ,
44 "type" : " module" ,
55 "description" : " " ,
66 "exports" : {
You can’t perform that action at this time.
0 commit comments