mirror of
https://github.com/encounter/ios-deploy.git
synced 2026-07-10 03:18:49 -07:00
Update RELEASING.md
This commit is contained in:
+4
-5
@@ -1,10 +1,9 @@
|
||||
## 1. Increment a version
|
||||
|
||||
```
|
||||
npm --no-git-tag-version version [major | minor | patch]
|
||||
# get the package.json version in a variable
|
||||
export PKG_VER=`node -e "console.log(require('./package.json').version)"`
|
||||
git commit -m "Incremented version to $PKG_VER" package.json src/src/ios-deploy/version.h
|
||||
export PKG_VER=YOUR_VERSION_HERE
|
||||
./increment_version.sh $PKG_VER
|
||||
git commit -m "Incremented version to $PKG_VER" package.json src/ios-deploy/version.h
|
||||
```
|
||||
|
||||
## 2. Tag a version
|
||||
@@ -18,4 +17,4 @@ git tag $PKG_VER
|
||||
```
|
||||
git push origin master
|
||||
git push origin $PKG_VER
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user