From 6379ae7022b7bf8bca9e46c74dc53874265f66d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar?= Date: Sun, 20 Dec 2020 12:43:16 +0100 Subject: [PATCH] Synchronize workflow with 'simple-icons-font' repo (#4408) --- .github/workflows/publish.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f7abe6e19..ee759ea13 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,22 +52,20 @@ jobs: RELEASE_BODY=$(echo '${{ steps.commit.outputs.git-message }}' | tail -n $(expr $(echo '${{ steps.commit.outputs.git-message }}' | wc -l) - 1)) echo "::set-output name=body::$RELEASE_BODY" - name: Get release version - id: get_version + id: get-version run: | export PACKAGE_VERSION=$(cat package.json | grep 'version' | sed 's/[ \",:]//g' | sed 's/version//') echo "::set-output name=version::$PACKAGE_VERSION" - name: Create and push git tag uses: actions-ecosystem/action-push-tag@v1 with: - tag: ${{ steps.get_version.outputs.version }} + tag: ${{ steps.get-version.outputs.version }} message: ${{ steps.commit.outputs.git-message }} - name: Create release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.get_version.outputs.version }} + tag_name: ${{ steps.get-version.outputs.version }} release_name: ${{ steps.release.outputs.title }} body: ${{ steps.release.outputs.body }} - draft: false - prerelease: false