File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 38
38
- name : Compute PyPI Url
39
39
id : pypi-url
40
40
shell : bash
41
- run :
41
+ run : |
42
42
if [ "${{ inputs.pypi-use-test-release }}" == "true" ]; then
43
43
echo "::set-output name=pypi-url::https://test.pypi.org/legacy/"
44
44
echo "::set-output name=password::${{ inputs.pypi-test-token }}"
Original file line number Diff line number Diff line change 12
12
permissions :
13
13
contents : write
14
14
steps :
15
+ - name : Check out the repo
16
+ uses : actions/checkout@v3
15
17
- name : Release
16
18
uses : ./.github/actions/release-package
17
19
with :
Original file line number Diff line number Diff line change @@ -10,16 +10,17 @@ if [ -n "$(git status --porcelain)" ]; then
10
10
echo " Working directory not clean"
11
11
exit 1
12
12
fi
13
+ tag=" ragstack-ai-$version "
13
14
14
15
git checkout main
15
16
git pull
16
17
echo " :: Bumping version to $version "
17
18
poetry version $version
18
19
git commit -am " Release $version "
19
- git tag " ragstack-ai- $version "
20
+ git tag $tag
20
21
echo " :: Bumping version to ${version} .post"
21
22
poetry version " ${version} .post"
22
23
git commit -am " Bump version to ${version} .post"
23
24
git push origin main
24
- git push origin --tags
25
+ git push origin $tag
25
26
echo " done."
You can’t perform that action at this time.
0 commit comments