Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not latest #561

Merged
merged 2 commits into from
Oct 3, 2024
Merged
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
13 changes: 10 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,22 @@ jobs:
uses: 'euberdeveloper/ga-project-version@main'
- run: npm pkg delete devDependencies scripts pnpm browserslist packageManager
- name: Create Docs
if: contains(steps.vvver.outputs.version, 'pre') == false
if: ${{ !contains(steps.vvver.outputs.version, '-') }}
run: npm run docs
- name: Deploy Docs
if: contains(steps.vvver.outputs.version, 'pre') == false
if: ${{ !contains(steps.vvver.outputs.version, '-') }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
publish_branch: docs
- run: npm publish --access public --provenance
- name: Publish full release
run: npm publish --access public --provenance
if: ${{ !contains(steps.vvver.outputs.version, '-') }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish pre-release
run: npm publish --access public --provenance --tag pre
if: ${{ contains(steps.vvver.outputs.version, '-') }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="label">Download browser version</div>
<span id="download">
<a title="Download a minified version of Peggy for the browser"
href="https://unpkg.com/peggy@4.0.3/browser/peggy.min.js">minified</a>
href="https://unpkg.com/peggy@4.1.0/browser/peggy.min.js">minified</a>
</span>
<iframe id="discord"
src="https://discordapp.com/widget?id=985995982909100082&theme=dark"
Expand Down
2 changes: 1 addition & 1 deletion docs/js/examples.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 4.0.3.
// @generated by Peggy 4.1.0.
//
// https://peggyjs.org/
(function(root) {
Expand Down
2 changes: 1 addition & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 4.1.0-pre.1.
// @generated by Peggy 4.1.0.
//
// https://peggyjs.org/

Expand Down
2 changes: 1 addition & 1 deletion lib/version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peggy",
"version": "4.1.0-pre.1",
"version": "4.1.0",
"description": "Parser generator for JavaScript",
"keywords": [
"grammar",
Expand Down
2 changes: 1 addition & 1 deletion test/cli/fixtures/imports_peggy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 4.0.3.
// @generated by Peggy 4.1.0.
//
// https://peggyjs.org/

Expand Down
2 changes: 1 addition & 1 deletion test/cli/fixtures/lib.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 4.0.3.
// @generated by Peggy 4.1.0.
//
// https://peggyjs.org/

Expand Down