mirror of https://github.com/Bunsly/JobSpy
add release title
parent
0193acc146
commit
9d85e011e3
|
@ -34,12 +34,11 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}/jobspy_api:latest
|
tags: ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}/jobspy_api:latest
|
||||||
|
|
||||||
- name: Set Release Tag Name and Title
|
- name: Set Release Tag Name
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=$(echo ${{ github.ref }} | sed -e 's/refs\/heads\///' -e 's/\//-/g')
|
# This creates a tag based on the current date: v0.YYMMDD.0
|
||||||
echo "RELEASE_TAG=${TAG_NAME}-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
|
TAG_VERSION="v0.$(date +'%y%m%d').0"
|
||||||
echo "RELEASE_TITLE=JobSpy Release for ${{ github.ref }} on $(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
|
echo "RELEASE_TAG=${TAG_VERSION}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
@ -55,3 +54,4 @@ jobs:
|
||||||
- name: Attach Docker Image to Release
|
- name: Attach Docker Image to Release
|
||||||
run: |
|
run: |
|
||||||
echo "Image ghcr.io/${{ github.repository }}/jobspy_api:latest is available under assets in the release."
|
echo "Image ghcr.io/${{ github.repository }}/jobspy_api:latest is available under assets in the release."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue