diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index d8522ec..0a5e0fd 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -37,16 +37,9 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} - - name: Show Published version + - name: Display Version run: | - echo "PACKAGE VERSION: ${{ steps.package-lts-version.outputs.LTS_VERSION }}-pre-${{ github.run_number }}" - - name: Create comment - uses: peter-evans/create-or-update-comment@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - repository: ${{ github.event.client_payload.github.payload.repository.full_name }} - issue-number: ${{ github.event.client_payload.github.payload.issue.number }} - reactions: rocket,hooray - body: | - RUN URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} - PACKAGE VERSION: ${{ steps.package-lts-version.outputs.LTS_VERSION }}-pre-${{ github.run_number }} \ No newline at end of file + echo "" + echo -e "\033[1;34m==========================================\033[0m" + echo -e "\033[1;32m 🚀 Version: ${{ steps.package-lts-version.outputs.LTS_VERSION }}-pre-${{ github.run_number }} \033[0m" + echo -e "\033[1;34m==========================================\033[0m" \ No newline at end of file diff --git a/README.md b/README.md index 97fc90b..a125b8f 100644 --- a/README.md +++ b/README.md @@ -184,4 +184,4 @@ If the Marker component has children, we generate that markup and use it as a Do ### Publishing a Pre-release Package Version -To generate a pre-release package from the changes in a pull request, add a `/publish` comment in the PR. This will publish a new package version and add a comment in the PR with the details of the published version. +To generate a pre-release package from the changes in a pull request, add a `/publish` comment in the PR. This will publish a new package version and then you can check the Display Version step in the Action run to find the details of the published version.