Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
joehoyle committed Jan 7, 2020
1 parent 2d86284 commit 3b646b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ script:
- expo login --non-interactive -u $EXPO_USERNAME
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch -a
- export branch=${1:-'origin/master'}
- export buildNumber=$(expr $(git rev-list $branch --count) - $(git rev-list HEAD..$branch --count))
- echo "Updating build number to $buildNumber using branch '$branch'."
- export buildNumber=$(git rev-list $( git describe --tags $(git rev-list --tags --max-count=1) )..master --count)
- echo "Updating build number to $buildNumber using branch 'master'."
- >
sed -E 's/(buildNumber": ")([^"]+)/\1'$buildNumber'/' app.json > tmp
- mv tmp app.json
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"platforms": [
"ios"
],
"version": "1.0.0",
"version": "1.0.1",
"orientation": "portrait",
"icon": "./images/app-icon-1024.png",
"updates": {
Expand Down

0 comments on commit 3b646b2

Please sign in to comment.