Skip to content

Commit

Permalink
fix: release.yml test9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
soblvsk committed Jul 12, 2023
1 parent c529065 commit 9995654
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ jobs:
with:
fetch-depth: 0

# поменять получение тэгов
- name: Get current & previous tags
id: tags
run: |
git fetch -a
echo ::set-output name=currentTag::$(git tag --sort="-committerdate" | cut -d$'\\n' -f1)
echo ::set-output name=previousTag::$(git tag --sort="-committerdate" | cut -d$'\\n' -f2)
echo "currentTag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
echo "previousTag=$(git describe --abbrev=0 ${CURRENT_TAG}^)" >> $GITHUB_OUTPUT
# Посмотреть доку и может поменять вид
- name: Build Changelog
Expand All @@ -61,29 +59,20 @@ jobs:
- name: Print changelog
run: echo "${{ steps.build_changelog.outputs.changelog}}"

- name: Create Release
uses: mikepenz/action-gh-release@v1
with:
body: ${{steps.build_changelog.outputs.changelog}}

- name: Create issue
uses: imjohnbo/issue-bot@3d96848fb5e9a4a473bb81ae62b4b4866a56e93a
with:
assignees: 'soblvsk'
labels: 'RELEASE'
title: '[${{ github.ref_name }}] Release'
body: |
${{ github.ref }}
${{ github.ref_name }}
${{ github.actor }}
${{ steps.github_release.outputs.changelog }}
${{ steps.tags.outputs.currentTag}}
${{ steps.tags.outputs.previousTag}}
${{ steps.build_changelog.outputs.changelog }}
pinned: false
close-previous: false
env:
Expand Down

0 comments on commit 9995654

Please sign in to comment.