mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-05-04 13:52:46 -04:00
ci: signed commit on actions
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
2
.github/actions/release.sh
vendored
2
.github/actions/release.sh
vendored
@@ -80,7 +80,7 @@ echo "Releasing $release version $RELEASE_VERSION..." && hatch version "${RELEAS
|
||||
jq --arg release_version "${RELEASE_VERSION}" '.version = $release_version' < package.json > package.json.tmp && mv package.json.tmp package.json
|
||||
|
||||
towncrier build --yes --version "${RELEASE_VERSION}" && git add CHANGELOG.md changelog.d
|
||||
git add src/openllm/__about__.py package.json && git commit -sm "infra: prepare for release ${RELEASE_VERSION} [generated]"
|
||||
git add src/openllm/__about__.py package.json && git commit -S -sm "infra: prepare for release ${RELEASE_VERSION} [generated]"
|
||||
git push origin main
|
||||
|
||||
echo "Building artifacts for releasing..." && hatch build
|
||||
|
||||
5
.github/workflows/create-releases.yml
vendored
5
.github/workflows/create-releases.yml
vendored
@@ -61,6 +61,11 @@ jobs:
|
||||
- name: Install jq and curl
|
||||
run: sudo apt-get install -y jq curl
|
||||
- name: Create a release
|
||||
env:
|
||||
GIT_AUTHOR_NAME: ${{ steps.import-gpg.outputs.name }}
|
||||
GIT_AUTHOR_EMAIL: ${{ steps.import-gpg.outputs.email }}
|
||||
GIT_COMMITTER_NAME: ${{ steps.import-gpg.outputs.name }}
|
||||
GIT_COMMITTER_EMAIL: ${{ steps.import-gpg.outputs.email }}
|
||||
run: |
|
||||
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
|
||||
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
|
||||
|
||||
2
.github/workflows/release-notes.yml
vendored
2
.github/workflows/release-notes.yml
vendored
@@ -105,5 +105,5 @@ jobs:
|
||||
|
||||
jq --arg release_version "$(hatch version)" '.version = $release_version' < package.json > package.json.tmp && mv package.json.tmp package.json
|
||||
|
||||
git add src/openllm/__about__.py package.json && git commit -sm "infra: bump to dev version of $(hatch version) [generated]"
|
||||
git add src/openllm/__about__.py package.json && git commit -S -sm "infra: bump to dev version of $(hatch version) [generated]"
|
||||
git push origin HEAD:main
|
||||
|
||||
Reference in New Issue
Block a user