Upload artifacts to S3; first attempt at Gitea releases #52

Merged
Jef Roosens merged 16 commits from gitea-releases into dev 2022-01-22 22:27:27 +01:00
Showing only changes of commit 7552e0e86f - Show all commits

View file

@ -8,7 +8,7 @@ pipeline:
image: 'chewingbever/vlang:latest' image: 'chewingbever/vlang:latest'
secrets: [ s3_username, s3_password ] secrets: [ s3_username, s3_password ]
commands: commands:
- git clone "$CI_REPO_REMOTE" - git clone "$CI_REPO_REMOTE" .
- git checkout "$CI_COMMIT_BRANCH" - git checkout "$CI_COMMIT_BRANCH"
# Write the title to a file that the plugin can then read # Write the title to a file that the plugin can then read
- echo "$(git describe --tags --abbrev=0 2> /dev/null || echo '0.0.0')-$(git rev-list --count ^dev)" > title - echo "$(git describe --tags --abbrev=0 2> /dev/null || echo '0.0.0')-$(git rev-list --count ^dev)" > title