Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gvec_to_python
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gvec-group
gvec_to_python
Commits
6c22e24f
Commit
6c22e24f
authored
2 years ago
by
Stefan Possanner
Browse files
Options
Downloads
Patches
Plain Diff
ci fix comment
parent
1b53a86c
Branches
Branches containing commit
Tags
3.2
Tags containing commit
1 merge request
!14
Remove twine
Pipeline
#172147
passed
2 years ago
Stage: install_and_test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+36
-35
36 additions, 35 deletions
.gitlab-ci.yml
with
36 additions
and
35 deletions
.gitlab-ci.yml
+
36
−
35
View file @
6c22e24f
...
@@ -71,6 +71,7 @@ install_and_test:
...
@@ -71,6 +71,7 @@ install_and_test:
# release
# release
# deploy:
# deploy:
# stage: release
# stage: release
# rules:
# rules:
...
@@ -81,42 +82,42 @@ install_and_test:
...
@@ -81,42 +82,42 @@ install_and_test:
# script:
# script:
# - twine upload dist/*
# - twine upload dist/*
vars
:
#
vars:
stage
:
release
#
stage: release
rules
:
#
rules:
-
if
:
$CI_COMMIT_TAG
#
- if: $CI_COMMIT_TAG
when
:
never
#
when: never
-
if
:
$CI_COMMIT_REF_NAME == "master"
#
- if: $CI_COMMIT_REF_NAME == "master"
before_script
:
#
before_script:
-
uname -s
# get system info
#
- uname -s # get system info
script
:
#
script:
-
echo "VERSION=$(var=$(<pyproject.toml); set -- $var; echo ${14} | sed 's/^.//' | sed 's/.$//')" >> vars.env
#
- echo "VERSION=$(var=$(<pyproject.toml); set -- $var; echo ${14} | sed 's/^.//' | sed 's/.$//')" >> vars.env
artifacts
:
#
artifacts:
reports
:
#
reports:
dotenv
:
vars.env
#
dotenv: vars.env
release_job
:
#
release_job:
stage
:
release
#
stage: release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
#
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules
:
#
rules:
-
if
:
$CI_COMMIT_TAG
#
- if: $CI_COMMIT_TAG
when
:
never
#
when: never
-
if
:
$CI_COMMIT_REF_NAME == "master"
#
- if: $CI_COMMIT_REF_NAME == "master"
needs
:
[
'
vars'
]
#
needs: ['vars']
before_script
:
#
before_script:
-
uname -s
# get system info
#
- uname -s # get system info
script
:
#
script:
-
cat /etc/*-release
#
- cat /etc/*-release
-
echo $VERSION
#
- echo $VERSION
release
:
# See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
#
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
tag_name
:
'
v$VERSION'
# The version is incremented per pipeline.
#
tag_name: 'v$VERSION' # The version is incremented per pipeline.
name
:
'
v$VERSION'
#
name: 'v$VERSION'
ref
:
'
$CI_COMMIT_SHA'
# The tag is created from the pipeline SHA.
#
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
description
:
'
CHANGELOG.md'
#
description: 'CHANGELOG.md'
assets
:
#
assets:
links
:
#
links:
-
name
:
'
PyPI'
#
- name: 'PyPI'
url
:
'
https://pypi.org/project/gvec_to_python/'
#
url: 'https://pypi.org/project/gvec_to_python/'
# OLD, TO BE DELETED
# OLD, TO BE DELETED
...
...
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