...
 
Commits (2)
......@@ -60,7 +60,7 @@ publish:
script:
- mkdir -p ~/.pub-cache
- echo "$PUB_CREDENTIALS" > ~/.pub-cache/credentials.json
- 'echo "version: ${CI_COMMIT_REF_NAME:1}" >> pubspec.yaml'
- 'echo -e "\nversion: ${CI_COMMIT_REF_NAME:1}" >> pubspec.yaml'
- pub publish --force
after_script:
- rm ~/.pub-cache/credentials.json
......