Skip to content

Commit

Permalink
fix: Removed SHA from version name to fix fdroid builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sschueller committed Feb 5, 2021
1 parent ee6767d commit 9dc7d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fetch-semantic-version:
- export VERSION_CODE=$((${VERSION_CODE}+1)) && echo ${VERSION_CODE}
- export VERSION_SHA=`echo ${CI_COMMIT_SHA:0:8}` && echo ${VERSION_SHA}
- export VERSION=`cat VERSION.txt` && echo ${VERSION}
- export VERSION_NAME=${VERSION}-${VERSION_SHA} && echo ${VERSION_NAME}
- export VERSION_NAME=${VERSION} && echo ${VERSION_NAME}
- sed -i -e "s/versionCode .*/versionCode ${VERSION_CODE}/g" app/build.gradle
- sed -i -e "s/versionName .*/versionName \"${VERSION_NAME}\"/g" app/build.gradle
- echo ${VERSION_CODE} > VERSION_CODE.txt
Expand Down

0 comments on commit 9dc7d54

Please sign in to comment.