Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Go Canary Collector
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ComputerSecurity
Go Canary Collector
Commits
f99745cf
Commit
f99745cf
authored
11 months ago
by
Jose Carlos Luna Duran
Browse files
Options
Downloads
Patches
Plain Diff
Fixing release stage
parent
d78a1a16
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-1
3 additions, 1 deletion
.gitlab-ci.yml
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
3
−
1
View file @
f99745cf
...
...
@@ -35,9 +35,11 @@ release:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
script
:
-
FILE_URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gocanary/${CI_COMMIT_TAG}/gocanary"
-
echo Release URL is $FILE_URL
-
release-cli create --name release-branch-$CI_JOB_ID --description "Some description"
--tag-name $CI_COMMIT_TAG
--assets-link '{"name":"Binary","url":"
https://${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gocanary/${CI_COMMIT_TAG}/gocanary
","link_type":"package"}'
--assets-link '{"name":"Binary","url":"
'"$FILE_URL"'
","link_type":"package"}'
rules
:
-
if
:
$CI_COMMIT_TAG
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment