diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 1d0dde6a..a392d134 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -42,7 +42,9 @@ jobs: # Append PR number to version - name: Append PR number to version shell: bash - run: 'echo -n -PR#${{ github.event.pull_request.number }} >> version' + run: | + tr -d '\n' < version > temp && mv temp version + echo -n -PR#${{ github.event.pull_request.number }} >> version # Build packages - name: Build packages @@ -83,7 +85,9 @@ jobs: # Append PR number to version - name: Append PR number to version shell: bash - run: echo -n "-PR#${{ github.event.pull_request.number }}" >> version + run: | + tr -d '\n' < version > temp && mv temp version + echo -n "-PR#${{ github.event.pull_request.number }}" >> version # Install dependencies - name: Install dependencies diff --git a/version b/version index c4e10406..3ce9b54c 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.0.0-alpha.4 +2.0.0-alpha.4 \ No newline at end of file