Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Physton committed Nov 26, 2023
1 parent 5e5bfef commit d673367
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
git push
continue-on-error: true

- name: Get date # 20231126
id: date
run: echo "::set-output name=date::$(date +%Y%m%d)"

- name: Get base commit SHA
id: base_commit_sha
run: echo "::set-output name=sha_short::$(git rev-parse --short=7 HEAD)"
Expand Down Expand Up @@ -58,8 +62,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
tag_name: base.${{ steps.base_commit_sha.outputs.sha_short }}-from.${{ steps.from_commit_sha.outputs.sha_short }}
release_name: Base@${{ steps.base_commit_sha.outputs.sha_short }} / From@${{ steps.from_commit_sha.outputs.sha_short }}
tag_name: ${{ steps.date.outputs.date }}.base.${{ steps.base_commit_sha.outputs.sha_short }}-from.${{ steps.from_commit_sha.outputs.sha_short }}
release_name: ${{ steps.date.outputs.date }} Base@${{ steps.base_commit_sha.outputs.sha_short }} / From@${{ steps.from_commit_sha.outputs.sha_short }}
body: "Build version:\nsd-webui-prompt-all-in-one-app: https://github.com/Physton/sd-webui-prompt-all-in-one-app/commit/${{ steps.base_commit_sha_full.outputs.sha_full }}\nsd-webui-prompt-all-in-one: https://github.com/Physton/sd-webui-prompt-all-in-one/commit/${{ steps.from_commit_sha_full.outputs.sha_full }}"
draft: false
prerelease: false
Expand Down

0 comments on commit d673367

Please sign in to comment.