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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gvec-group
gvec_to_python
Commits
74f2f5ad
Commit
74f2f5ad
authored
2 years ago
by
Stefan Possanner
Browse files
Options
Downloads
Patches
Plain Diff
prepare new release
parent
12d69c1f
No related branches found
No related tags found
1 merge request
!15
prepare new release
Pipeline
#172150
failed
2 years ago
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+45
-46
45 additions, 46 deletions
.gitlab-ci.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
pyproject.toml
+3
-3
3 additions, 3 deletions
pyproject.toml
with
49 additions
and
50 deletions
.gitlab-ci.yml
+
45
−
46
View file @
74f2f5ad
...
...
@@ -29,7 +29,7 @@ variables:
stages
:
-
install_and_test
#
- release
-
release
# Changes (e.g. apt install, pip install) do not persist across different GitLab CI jobs.
# => Consolidate everything in GitLab CI into a single job, because the design is dumb.
...
...
@@ -71,53 +71,52 @@ install_and_test:
# release
deploy
:
stage
:
release
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_COMMIT_REF_NAME == "master"
needs
:
[
"
default_build"
]
script
:
-
twine upload dist/*
# deploy:
# stage: release
# rules:
# - if: $CI_COMMIT_TAG
# when: never
# - if: $CI_COMMIT_REF_NAME == "master"
# needs: ["default_build"]
# script:
# - twine upload dist/*
# vars:
# stage: release
# rules:
# - if: $CI_COMMIT_TAG
# when: never
# - if: $CI_COMMIT_REF_NAME == "master"
# before_script:
# - uname -s # get system info
# script:
# - echo "VERSION=$(var=$(<pyproject.toml); set -- $var; echo ${14} | sed 's/^.//' | sed 's/.$//')" >> vars.env
# artifacts:
# reports:
# dotenv: vars.env
vars
:
stage
:
release
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_COMMIT_REF_NAME == "master"
before_script
:
-
uname -s
# get system info
script
:
-
echo "VERSION=$(var=$(<pyproject.toml); set -- $var; echo ${14} | sed 's/^.//' | sed 's/.$//')" >> vars.env
artifacts
:
reports
:
dotenv
:
vars.env
#
release_job:
#
stage: release
#
image: registry.gitlab.com/gitlab-org/release-cli:latest
#
rules:
#
- if: $CI_COMMIT_TAG
#
when: never
#
- if: $CI_COMMIT_REF_NAME == "master"
#
needs: ['vars']
#
before_script:
#
- uname -s # get system info
#
script:
#
- cat /etc/*-release
#
- echo $VERSION
#
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
#
tag_name: 'v$VERSION' # The version is incremented per pipeline.
#
name: 'v$VERSION'
#
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
#
description: 'CHANGELOG.md'
#
assets:
#
links:
#
- name: 'PyPI'
#
url: 'https://pypi.org/project/gvec_to_python/'
release_job
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_COMMIT_REF_NAME == "master"
needs
:
[
'
vars'
]
before_script
:
-
uname -s
# get system info
script
:
-
cat /etc/*-release
-
echo $VERSION
release
:
# See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
tag_name
:
'
v$VERSION'
# The version is incremented per pipeline.
name
:
'
v$VERSION'
ref
:
'
$CI_COMMIT_SHA'
# The tag is created from the pipeline SHA.
description
:
'
CHANGELOG.md'
assets
:
links
:
-
name
:
'
PyPI'
url
:
'
https://pypi.org/project/gvec_to_python/'
# OLD, TO BE DELETED
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
74f2f5ad
...
...
@@ -7,7 +7,7 @@ pip install gvec_to_python
```
Or from source:
```
git clone git@gitlab.mpcdf.mpg.de:
spossann
/gvec_to_python.git
git clone git@gitlab.mpcdf.mpg.de:
gvec-group
/gvec_to_python.git
cd gvec_to_python
pip install -e .
```
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
3
−
3
View file @
74f2f5ad
...
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name
=
"gvec-to-python"
version
=
"1.1.
1
"
version
=
"1.1.
2
"
readme
=
"README.md"
requires-python
=
">
=
3.7
"
license
=
{
file
=
"LICENSE"
}
...
...
@@ -31,8 +31,8 @@ dependencies = [
]
[project.urls]
repository
=
"https://gitlab.mpcdf.mpg.de/
spossann
/gvec_to_python"
"Bug Tracker"
=
"https://gitlab.mpcdf.mpg.de/
spossann
/gvec_to_python/-/issues"
repository
=
"https://gitlab.mpcdf.mpg.de/
gvec-group
/gvec_to_python"
"Bug Tracker"
=
"https://gitlab.mpcdf.mpg.de/
gvec-group
/gvec_to_python/-/issues"
[project.scripts]
compile-gvec-tp
=
"gvec_to_python.console.compile:compile_gvec_to_python"
...
...
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