From c3e7e0c834362bf16693410c24adbb391a86c0b4 Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Sun, 4 Apr 2021 23:46:18 +0200 Subject: [PATCH] format file --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6042f97f3..ff49a9515 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,21 +17,21 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Create new version + id: new-version + run: echo "::set-output name=NEW_VERSION::$(.github/workflows/version-up.sh --patch)" + - name: Create change log id: change-log run: echo "::set-output name=CHANGE_LOG::$(yarn generate:changelog)" - - name: Create new version - id: new-version - run: echo ""::set-output name=NEW_VERSION::$(.github/workflows/version-up.sh --patch)" - - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: - tag_name: ${{ github.ref }} + tag_name: ${{ steps.new-version.outputs.NEW_VERSION }} release_name: Release ${{ github.ref }} - body: ${{ github.ref }} + body: ${{ steps.change-log.outputs.CHANGE_LOG }}