diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-30 12:44:29 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-30 12:44:51 +0300 |
commit | b6e26e03a530d84f9fa17dfc24033cdf8b2d88cd (patch) | |
tree | 94e59a0cbfae1bede3249e766c48d9286d39b51a | |
parent | 24d2b011c88f81c16c71875e80fa1ff247f2e66c (diff) |
Pipelinev1.0
-rw-r--r-- | .github/workflows/release.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e0bcf4..680a421 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,9 @@ jobs: uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- tag: $(git rev-parse --short "$GITHUB_SHA")
+ tag: ${{ github.event.repository.updated_at }}
commit: ${{ github.head_ref || github.ref_name }}
- name: Release $(git rev-parse --short "$GITHUB_SHA")
+ name: Release ${{ github.event.repository.updated_at }}
draft: true
- name: Output Release URL File
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
@@ -72,7 +72,7 @@ jobs: - name: Get Release File Name & Upload URL
id: get_release_info
env:
- TAG_REF_NAME: $(git rev-parse --short "$GITHUB_SHA")
+ TAG_REF_NAME: ${{ github.event.repository.updated_at }}
REPOSITORY_NAME: ${{ github.repository }}
run: |
value=`cat release_url/release_url.txt`
|