Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 352719c

Browse files
committed
💩 Use placeholder for version in info.plist
1 parent 50bb082 commit 352719c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
os: osx
21
language: python
32
python:
43
- "2.7"
54

65
install: ./setup.sh
76
script: true
8-
before_deploy: plutil -replace version -string "$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER" info.plist && zip -rv - *
7+
before_deploy: sed -i.bak 's/\[version\]/'"$TRAVIS_BRANCH-$TRAVIS_COMMIT"'/g' info.plist && zip -rv gitmoji.alfredworkflow *
98

109
deploy:
1110
provider: releases

info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Workflow by @leolabs_org</string>
123123
</dict>
124124
</dict>
125125
<key>version</key>
126-
<string>1.1</string>
126+
<string>[version]</string>
127127
<key>webaddress</key>
128128
<string>https://leolabs.org</string>
129129
</dict>

0 commit comments

Comments
 (0)