Commit 12ee23cd authored by akiraohgaki's avatar akiraohgaki

Update .gitlab-ci.yml

parent f826a8f8
Pipeline #376 passed with stages
in 28 seconds
......@@ -9,10 +9,10 @@ project-build:
- master
- /^release\-.+/
script:
# Build your project and generate binary here
# Build your project and generate binary here.
- echo 'dummy' > dummy.txt
- mkdir dist
- tar -czvf dist/file-$(date +%s).tar.gz dummy.txt
- tar -czvf dist/file-${CI_COMMIT_REF_SLUG}.tar.gz dummy.txt
artifacts:
paths:
- dist/file-*.tar.gz
......@@ -24,10 +24,11 @@ project-release:
only:
- /^release\-.+/
script:
# To use opendesktop-uploader, you should set environment variables as protected variables in CI/CD settings.
# To use opendesktop-uploader, you should set these environment variables as protected variables in CI/CD settings.
# OPENDESKTOP_IDENTITY: Username or Email
# OPENDESKTOP_CREDENTIAL: Password
# OPENDESKTOP_PRODUCT_ID: ID number of product, used in https://www.opendesktop.org/p/{ID}/
# To allow protected variables for other than master branch, you can set protected branches and protected tags in repository settings.
# Upload your binary into your product page
- opendesktop-uploader dist/file-*.tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment