Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
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"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Loading