Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Degrees of Lewdity Plus
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
Frostberg
Degrees of Lewdity Plus
Commits
39d817f2
Commit
39d817f2
authored
1 year ago
by
Frostberg
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
a78aaa69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#73246
failed
1 year ago
Stage: build
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-5
6 additions, 5 deletions
.gitlab-ci.yml
with
6 additions
and
5 deletions
.gitlab-ci.yml
+
6
−
5
View file @
39d817f2
...
...
@@ -16,8 +16,6 @@ before_script:
build_job
:
stage
:
build
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^0\.\d+\.\d+\.\d+_DoLP_0\.\d+$/'
script
:
-
echo "Building version $VERSION"
-
sh ./compile.sh
...
...
@@ -33,11 +31,12 @@ build_job:
-
cp -r -f ./beeesssparilhairstyleextendedimg/* ./releases/DoLP_BEEESSS+Paril+Hairstyle_Extended/img/
-
apk add curl jq
-
'
curl
-H
"PRIVATE-TOKEN:
$CI_API_TOKEN"
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/repository/changelog?version=$SANITIZED_VERSION"
|
jq
-r
.notes
>
release_notes.md'
artifacts
:
paths
:
-
releases/
-
release_notes.md
only
:
-
master
after_script
:
-
echo "Finished building."
...
...
@@ -49,7 +48,9 @@ release_job:
-
job
:
build_job
artifacts
:
true
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^0\.\d+\.\d+\.\d+_DoLP_0\.\d+$/'
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script
:
-
echo "Creating releases..."
release
:
...
...
@@ -60,4 +61,4 @@ release_job:
assets
:
links
:
-
name
:
'
$SANITIZED_VERSION'
url
:
"
https://$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA"
url
:
"
https://$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA"
\ No newline at end of file
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