Verified Commit efe4ede2 authored by Cody L Marquart's avatar Cody L Marquart
Browse files

Testing gitlab release creation from CI

[skip check][skip rhub][skip winbuilder]
parent 2d4dd7aa
Pipeline #49601 waiting for manual action with stages
in 2 minutes and 17 seconds
......@@ -138,7 +138,8 @@ check:r-hub-windows-devel:
- cat ./${PKG}/ || true
- ls -al || true
- Rscript -e "devtools:::upload_cran(devtools::as.package('.'), './${PKG}_${VERSION}.tar.gz')"
#- Rscript -e "devtools:::upload_cran(devtools::as.package('.'), './${PKG}_${VERSION}.tar.gz')"
- "curl --request POST --header \"PRIVATE-TOKEN: ${GITLAB_API_TOKEN}\" --data-urlencode \"tag_name=v${VERSION}\" --data-urlencode \"name=v${VERSION}\" --data-urlencode \"description=Automatically created from CI for v${VERSION}\" \"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases?ref=${CI_COMMIT_REF_NAME}\""
allow_failure: false
<<: *release_definition
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