Making ci/cd changes
This commit is contained in:
@@ -47,7 +47,8 @@ extract_version:
|
|||||||
script:
|
script:
|
||||||
- apk add --no-cache jq
|
- apk add --no-cache jq
|
||||||
- VERSION=$(jq -r '.package.version' Cargo.toml)
|
- VERSION=$(jq -r '.package.version' Cargo.toml)
|
||||||
- echo "Version: $VERSION"
|
- if [ $? -ne 0 ]; then echo "Error extracting version"; exit 1; fi
|
||||||
|
- echo "Extracted version: $VERSION"
|
||||||
- echo "VERSION=$VERSION" > version.env
|
- echo "VERSION=$VERSION" > version.env
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
@@ -61,7 +62,7 @@ tag_release:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- extract_version
|
- extract_version
|
||||||
script:
|
script:
|
||||||
- release-cli create --name "Release $VERSION" --tag-name "v$VERSION"
|
- release-cli create --name "Release v$VERSION" --tag-name "v$VERSION"
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
Reference in New Issue
Block a user