Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RJW Sexperience Ideology
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XyroxDev
RJW Sexperience Ideology
Commits
0a5a9769
Commit
0a5a9769
authored
8 months ago
by
amevarashi
Browse files
Options
Downloads
Patches
Plain Diff
CI: expose About.xml, change package name and version to project name and branch name respectively
parent
ebb9708e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
.gitlab-ci.yml
with
4 additions
and
3 deletions
.gitlab-ci.yml
+
4
−
3
View file @
0a5a9769
...
...
@@ -55,7 +55,7 @@ build:
when
:
on_success
expire_in
:
1 day
paths
:
-
"
*"
# Inclu
s
e everything
-
"
*"
# Inclu
d
e everything
exclude
:
-
"
.*"
# Exclude dot files
-
"
.*/**/*"
# Exclude everything in the dot folders
...
...
@@ -66,12 +66,13 @@ release_dev:
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
# Do not run this job when a tag is created manually
-
if
:
$CI_COMMIT_BRANCH == "dev"
# Run this job when commits are pushed or merged to the dev branch
-
if
:
$CI_COMMIT_BRANCH == "dev"
# Run this job when commits are pushed or merged to the dev branch
variables
:
GIT_STRATEGY
:
none
# Do not clone repo and skip 'before_script'
PACKAGE_REGISTRY_URL
:
"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/
rsi/test
"
PACKAGE_REGISTRY_URL
:
"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/
${CI_PROJECT_NAME}/${CI_COMMIT_BRANCH}
"
script
:
-
apk add zip
-
zip -rq mod.zip ./
-
echo "${PACKAGE_REGISTRY_URL}"
-
'
curl
--header
"JOB-TOKEN:
${CI_JOB_TOKEN}"
--upload-file
About/About.xml
"${PACKAGE_REGISTRY_URL}/About.xml"'
-
'
curl
--header
"JOB-TOKEN:
${CI_JOB_TOKEN}"
--upload-file
mod.zip
"${PACKAGE_REGISTRY_URL}/rjw_sexperience_ideology.zip"'
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