Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
Swain Lab
aliby
alibylite
Commits
dceb52c9
Commit
dceb52c9
authored
3 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
update remote-set-url
parent
5f3c66c8
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
+3
-1
3 additions, 1 deletion
.gitlab-ci.yml
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
3
−
1
View file @
dceb52c9
...
@@ -25,6 +25,7 @@ Python Code Lint:
...
@@ -25,6 +25,7 @@ Python Code Lint:
Static Type
:
Static Type
:
stage
:
check
stage
:
check
allow_failure
:
true
script
:
script
:
-
mypy . --exclude 'setup\.py$'
-
mypy . --exclude 'setup\.py$'
# We can remove the flag once this is resolved https://github.com/pypa/setuptools/issues/2345
# We can remove the flag once this is resolved https://github.com/pypa/setuptools/issues/2345
...
@@ -37,6 +38,7 @@ Publish to pypi and update repository:
...
@@ -37,6 +38,7 @@ Publish to pypi and update repository:
-
git config --global user.name ${GITLAB_USER_NAME}
-
git config --global user.name ${GITLAB_USER_NAME}
-
git add pyproject.toml
-
git add pyproject.toml
-
git commit -m "Bump version"
-
git commit -m "Bump version"
-
git remote add local https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git && git push -o ci.skip local HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD}
-
git remote set-url origin https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git
-
git push -o ci.skip origin HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD}
only
:
only
:
-
master
-
master
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