Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipforge_cli
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChipForge
chipforge_cli
Commits
ae7814eb
Commit
ae7814eb
authored
8 months ago
by
gling
Browse files
Options
Downloads
Patches
Plain Diff
Release 0.0.4
parent
20998c4c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
release.sh
+10
-0
10 additions, 0 deletions
release.sh
with
13 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
0
View file @
ae7814eb
...
...
@@ -21,6 +21,8 @@ publish-job: # Publish to gitlab package repository
script
:
-
apk add poetry
-
poetry build
-
poetry export > requirements.txt
-
cd dist && pip3 download -r requirements.txt
-
poetry config repositories.gitlab "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi"
-
poetry config http-basic.gitlab gitlab-ci-token "$CI_JOB_TOKEN"
-
poetry publish --repository gitlab
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
ae7814eb
[tool.poetry]
name
=
"chipforge"
version
=
"0.0.
3
"
version
=
"0.0.
4
"
description
=
"Chip Forge Python Utilities"
repository
=
"https://git.ece.iastate.edu/isu-chip-fab/chiputil.git"
authors
=
[
"Gregory Ling"
]
...
...
This diff is collapsed.
Click to expand it.
release.sh
0 → 100755
+
10
−
0
View file @
ae7814eb
#!/bin/sh
set
-e
poetry version patch
VERSION
=
$(
poetry version
-s
)
git add pyproject.toml
git commit
-m
"Release
$VERSION
"
git push
git tag
$VERSION
git push origin
$VERSION
\ 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