Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Hiboo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
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
cyrinux
Hiboo
Commits
e0b3758a
Verified
Commit
e0b3758a
authored
5 months ago
by
ornanovitch
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' into dev
parents
a44c7eae
91c61193
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
+6
-4
6 additions, 4 deletions
.gitlab-ci.yml
with
6 additions
and
4 deletions
.gitlab-ci.yml
+
6
−
4
View file @
e0b3758a
...
...
@@ -40,12 +40,13 @@ prepare:
-
chmod 700 ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
-
git checkout $CI_COMMIT_REF_NAME
-
git pull --rebase
-
git remote set-url origin "git@forge.tedomum.net:$CI_PROJECT_PATH.git"
-
git config --global user.name "${
CI_USERNAME
}"
-
git config --global user.email "${
CI
_EMAIL}"
-
git config --global user.name "${
GITLAB_USER_LOGIN
}"
-
git config --global user.email "${
GITLAB_USER
_EMAIL}"
-
npm ci
script
:
-
GITLAB_TOKEN=$CI_JOB_TOKEN
npx release-it --ci --no-npm --gitlab.release --dry-run
-
npx release-it --ci --no-npm --gitlab.release --dry-run
-
>-
curl
--header "PRIVATE-TOKEN: ${RELEASE_IT_TOKEN}"
...
...
@@ -63,7 +64,8 @@ release:
extends
:
-
prepare
script
:
-
GITLAB_TOKEN=$CI_JOB_TOKEN npx release-it --ci --no-npm --gitlab.release
-
npx release-it --ci --no-npm
-
GITLAB_TOKEN=${RELEASE_IT_TOKEN} npx release-it --ci --no-git --no-increment --no-npm --gitlab.release
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
...
...
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