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

Commit

Permalink
💩 Use placeholder for version in info.plist
Browse files Browse the repository at this point in the history
  • Loading branch information
leolabs committed Feb 17, 2018
1 parent 50bb082 commit 352719c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
os: osx
language: python
python:
- "2.7"

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

deploy:
provider: releases
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Workflow by @leolabs_org</string>
</dict>
</dict>
<key>version</key>
<string>1.1</string>
<string>[version]</string>
<key>webaddress</key>
<string>https://leolabs.org</string>
</dict>
Expand Down

0 comments on commit 352719c

Please sign in to comment.