FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
atom/script/set-version at master · mizchi/atom · GitHub
mizchi
atom
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
atom
/
script
/
set-version
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
14 lines (11 loc) · 561 Bytes
Breadcrumbs
atom
/
script
/
set-version
Copy path
File metadata and controls
executable file
·
14 lines (11 loc) · 561 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!
/bin/sh
set
-e
BUILT_PRODUCTS_DIR=
$1
VERSION=
$2
PLIST_PATH=
"
$BUILT_PRODUCTS_DIR
/Atom.app/Contents/Info.plist
"
HELPER_PLIST_PATH=
"
$BUILT_PRODUCTS_DIR
/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/Info.plist
"
#
Update version
/usr/libexec/PlistBuddy -c
"
Set CFBundleShortVersionString
$VERSION
"
"
$PLIST_PATH
"
/usr/libexec/PlistBuddy -c
"
Set CFBundleVersion
$VERSION
"
"
$PLIST_PATH
"
/usr/libexec/PlistBuddy -c
"
Set CFBundleShortVersionString
$VERSION
"
"
$HELPER_PLIST_PATH
"
/usr/libexec/PlistBuddy -c
"
Set CFBundleVersion
$VERSION
"
"
$HELPER_PLIST_PATH
"
Back
|
FazBrowse Home
|
New Git URL