Closed ronyeh closed 1 year ago
I tried it but it failed.
? Publish vxflw-early-access@alpha to npm? Yes ? Commit (Release VexFlow 5.0.0-alpha.5)? Yes ? Tag (5.0.0-alpha.5)? Yes ? Push? Yes ERROR git@github.com: Permission denied (publickey). fatal: No se pudo leer del repositorio remoto.
Por favor asegúrate de que tengas los permisos de acceso correctos y que el repositorio exista. Fatal error: git@github.com: Permission denied (publickey). fatal: No se pudo leer del repositorio remoto.
Por favor asegúrate de que tengas los permisos de acceso correctos y que el repositorio exista.
@ronyeh it failed partially, the new packages are in unpkg. :(
Hey! No problem. We can debug this.
It seems that you were able to publish successfully to NPM: https://www.npmjs.com/package/vxflw-early-access?activeTab=versions https://unpkg.com/browse/vxflw-early-access@5.0.0-alpha.5/
So that means your NPM access and 2FA are set up correctly.
Looking at the GitHub repo commit history, I do not see any of the build products committed to the repo.
This probably means that the release-it script does not have access rights to the git repository.
The error message you shared says "Permission denied" and the Spanish text suggests an access / permissions problem.
Were there any prerequisite steps that you skipped in this document?
https://github.com/vexflow/vexflow/wiki/Release-to-GitHub-and-NPM
It is important that the GITHUB_TOKEN is available to the script, and that you have checked out the correct repository.
1) Have you created a personal access token on your github account with repo permissions to the https://github.com/vexflow/vexflow/ repo?
2) Did you run the release-it script from a clean clone of https://github.com/vexflow/vexflow/ ? Do not run the release from your own working copy (that points to https://github.com/rvilarl/vexflow ). Doing so will prevent the script from being able to push to vexflow/vexflow. Instead, it will try to commit and push to rvilarl/vexflow and fail.
What does it show when you run this command?
```
$ git remote -v
origin git@github.com:vexflow/vexflow.git (fetch)
origin git@github.com:vexflow/vexflow.git (push)
```
@ronyeh can you check if your token is repo only? Now the script is out of think because the version in npm does not much the one tagged in github.
@ronyeh I think I broke it, can you try to do a new release?
I have all the repo scope options checked, as directed by the release-it docs.
I don't think having a older stable version of release-it matters. I just did a release recently.
Let's try to figure it out. Right now the stakes are low since we are releasing under a temp package name. We can figure this out so by the time we switch to the real vexflow
package, both of us can release with no issues.
@ronyeh , please try to make a release, I think that it is broken.
@ronyeh there is now in npm a @5.0.0-alpha.5 which is not vexflo5. This is a result of the wrong release that I did. I have realised it in vexflow-examples. It is definetively broken. Please make a new release to make sure that latest is vexflow 5.
Sure, I can make a release.
However, in your vexflow-examples HTML I see:
https://cdn.jsdelivr.net/npm/vxflw-early-access@latest/build/cjs/vexflow.js
@latest
doesn't work in this instance (because we haven't made a 5.0 release). You need to specify the exact alpha revision like so:
https://cdn.jsdelivr.net/npm/vxflw-early-access@5.0.0-alpha.5/build/cjs/vexflow.js
Try it out and let me know if it works. Your release seemed to successfully publish to NPM, but it failed to commit and push to GitHub. (Unfortunately I don't know if there is a way to make NPM+GitHub an atomic transaction.)
But if we can debug your GitHub troubles, then you will be able to release to both NPM and GitHub.
I feel like it's an access or token problem. We can check after I make this release.
I just released alpha 6.
Here's the complete release log. Next let's figure out what's happening on your side. The only thing you aren't able to do is release to GitHub.
The command I used here was: grunt release:alpha
$ grunt release:alpha
Running "release:alpha" (release) task
$ grunt clean
Running "clean:build" (clean) task
>> 1 path cleaned.
Running "clean:build_esm" (clean) task
>> 0 paths cleaned.
Running "clean:reference" (clean) task
>> 0 paths cleaned.
Running "clean:reference_images" (clean) task
>> 0 paths cleaned.
Running "clean:webpack_cache" (clean) task
>> 0 paths cleaned.
Running "clean:eslint_cache" (clean) task
>> 0 paths cleaned.
Done.
$ grunt v309:add
Running "v309:add" (v309) task
Updated 1 path from 8de8ebef
Updated 1 path from 8de8ebef
Done.
🚀 Let's release vxflw-early-access (5.0.0-alpha.5...5.0.0-alpha.6)
Changelog:
* Bump package.json version so we can run the release-it script without any WARNINGs. (bb01e4ac)
* Merge pull request #127 from ronyeh/font-urls (61119b5e)
* Update OTF inspector. (39c489bc)
* Update glyph inspector. (9798d2cc)
* Update flow.html to load the new fonts, in case we decide to render them in the future. (1201e134)
* New fonts. Use the @vexflow-fonts URLs. (fb55c97e)
* Merge pull request #126 from ronyeh/delete-fonts (cc06ae96)
* Merge pull request #123 from rvilarl/staveline (4b7ca61f)
* Remove font files. They are now in a separate repo: https://github.com/vexflow/vexflow-fonts (70ee0cae)
* Remove out of date information. (1a1f9203)
* Merge pull request #125 from rvilarl/timesignaturesizes (47b93945)
* adjust big time signatures (32faa23f)
* Merge pull request #124 from rvilarl/singletimesig (86bb364a)
* support single digit time signatures (4ab869d2)
* staveline (v5) (e59e4136)
* Merge pull request #120 from rvilarl/keysignaturewidth (b9f7bb58)
* Merge pull request #119 from RyoSusami/hotfix/ornament_delayed_draw (475c377d)
* calculate width without stave (a0aa7ccb)
* Ported similar to 0xfe/vexflow#1598. (106bdace)
* Modified ornament test case for VexFlow5. (ec1b6f94)
* Added test cases for Ornament, for testing delayed turns. (260f1fe4)
* Merge pull request #117 from ronyeh/demos-and-jsdom (edf08c6a)
* Add 'Finale Ash' to the jsdom visual tests, to verify that we can generate file names for font names containing spaces. (62d1dcc7)
* Fix comments and legacy test page, in anticipation for new font loading API. (1d4590bc)
* Fix comment. Remove font targets from package.json. (7b18a0ba)
* Fix comments. (b62a433d)
* Support the jsdom image generation. Sanitize font name to remove spaces (so we can use it in file names). Always include the font name in the output file name. (b83a9dc1)
* Add Element.setTextMeasurementCanvas() which can optionally be called in environments where document.createElement('canvas') does not work. Also support OffscreenCanvas for workers. (20e5cabe)
* Use registerFont() for jsdom. (451f53ba)
* .gitignore (42d5f67d)
* Rename image generation script to be more clear. (a1674c70)
* Add a .gitkeep to make sure demos/node/output is available for testing. (1a2d0d5d)
* Merge pull request #115 from rvilarl/alternatecode (94525861)
* Remove build/ after releasing version 5.0.0-alpha.3 to npm and GitHub. (caea05cb)
* alternate codepoints (856df5e1)
$ grunt
Running "clean:build" (clean) task
>> 0 paths cleaned.
Running "webpack:prodAndDebug" (webpack) task
asset vexflow.js 332 KiB [emitted] [minimized] [big] (name: vexflow) 1 related asset
orphan modules 969 KiB [orphan] 90 modules
runtime modules 891 bytes 4 modules
./entry/vexflow.ts + 90 modules 970 KiB [built] [code generated]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
vexflow.js (332 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
vexflow (332 KiB)
vexflow.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
webpack 5.88.2 compiled with 3 warnings in 13166 ms
asset vexflow-debug-with-tests.js 2 MiB [emitted] (name: vexflow-debug-with-tests) 1 related asset
asset vexflow-debug.js 1.11 MiB [emitted] (name: vexflow-debug) 1 related asset
runtime modules 1.74 KiB 8 modules
modules by path ./src/*.ts 969 KiB
./src/flow.ts 10.6 KiB [built] [code generated]
./src/index.ts 2.75 KiB [built] [code generated]
./src/accidental.ts 22.7 KiB [built] [code generated]
+ 87 modules
modules by path ./tests/*.ts 698 KiB
./tests/index.ts 2.97 KiB [built] [code generated]
./tests/accidental_tests.ts 47.1 KiB [built] [code generated]
./tests/annotation_tests.ts 19.3 KiB [built] [code generated]
./tests/articulation_tests.ts 24.8 KiB [built] [code generated]
+ 67 modules
modules by path ./entry/*.ts 1.49 KiB
./entry/vexflow-debug.ts 737 bytes [built] [code generated]
./entry/vexflow-debug-with-tests.ts 788 bytes [built] [code generated]
webpack 5.88.2 compiled successfully in 10842 ms
Running "build:esm" task
ESM: Building to ./build/esm/
TypeScript: Compiling 167 files...
Writing ESM version data to /Users/ronyeh/Code/R/VexFlow/v5/build/esm/src/version.js
Running "build:types" task
Types: Building *.d.ts files in build/types/
TypeScript: Compiling 92 files...
Done.
$ echo Adding build/ folder...
Adding build/ folder...
$ git add -f build/
Changeset:
A build/cjs/vexflow-debug-with-tests.js
A build/cjs/vexflow-debug-with-tests.js.map
A build/cjs/vexflow-debug.js
A build/cjs/vexflow-debug.js.map
A build/cjs/vexflow.js
A build/cjs/vexflow.js.map
A build/esm/entry/vexflow-debug-with-tests.js
A build/esm/entry/vexflow-debug.js
A build/esm/entry/vexflow.js
A build/esm/package.json
A build/esm/src/accidental.js
A build/esm/src/annotation.js
A build/esm/src/articulation.js
A build/esm/src/barnote.js
A build/esm/src/beam.js
A build/esm/src/bend.js
A build/esm/src/boundingbox.js
A build/esm/src/canvascontext.js
A build/esm/src/chordsymbol.js
A build/esm/src/clef.js
A build/esm/src/clefnote.js
A build/esm/src/crescendo.js
A build/esm/src/curve.js
A build/esm/src/dot.js
A build/esm/src/easyscore.js
A build/esm/src/element.js
A build/esm/src/factory.js
A build/esm/src/flow.js
A build/esm/src/font.js
A build/esm/src/formatter.js
A build/esm/src/fraction.js
A build/esm/src/frethandfinger.js
A build/esm/src/ghostnote.js
A build/esm/src/glyphnote.js
A build/esm/src/glyphs.js
A build/esm/src/gracenote.js
A build/esm/src/gracenotegroup.js
A build/esm/src/gracetabnote.js
A build/esm/src/index.js
A build/esm/src/keymanager.js
A build/esm/src/keysignature.js
A build/esm/src/keysignote.js
A build/esm/src/metrics.js
A build/esm/src/modifier.js
A build/esm/src/modifiercontext.js
A build/esm/src/multimeasurerest.js
A build/esm/src/music.js
A build/esm/src/note.js
A build/esm/src/notehead.js
A build/esm/src/notesubgroup.js
A build/esm/src/ornament.js
A build/esm/src/parenthesis.js
A build/esm/src/parser.js
A build/esm/src/pedalmarking.js
A build/esm/src/registry.js
A build/esm/src/rendercontext.js
A build/esm/src/renderer.js
A build/esm/src/repeatnote.js
A build/esm/src/stave.js
A build/esm/src/stavebarline.js
A build/esm/src/staveconnector.js
A build/esm/src/stavehairpin.js
A build/esm/src/staveline.js
A build/esm/src/stavemodifier.js
A build/esm/src/stavenote.js
A build/esm/src/staverepetition.js
A build/esm/src/stavesection.js
A build/esm/src/stavetempo.js
A build/esm/src/stavetext.js
A build/esm/src/stavetie.js
A build/esm/src/stavevolta.js
A build/esm/src/stem.js
A build/esm/src/stemmablenote.js
A build/esm/src/stringnumber.js
A build/esm/src/strokes.js
A build/esm/src/svgcontext.js
A build/esm/src/system.js
A build/esm/src/tables.js
A build/esm/src/tabnote.js
A build/esm/src/tabslide.js
A build/esm/src/tabstave.js
A build/esm/src/tabtie.js
A build/esm/src/textbracket.js
A build/esm/src/textdynamics.js
A build/esm/src/textnote.js
A build/esm/src/tickable.js
A build/esm/src/tickcontext.js
A build/esm/src/timesignature.js
A build/esm/src/timesignote.js
A build/esm/src/tremolo.js
A build/esm/src/tuning.js
A build/esm/src/tuplet.js
A build/esm/src/typeguard.js
A build/esm/src/util.js
A build/esm/src/version.js
A build/esm/src/vex.js
A build/esm/src/vibrato.js
A build/esm/src/vibratobracket.js
A build/esm/src/voice.js
A build/esm/src/web.js
A build/esm/tests/accidental_tests.js
A build/esm/tests/annotation_tests.js
A build/esm/tests/articulation_tests.js
A build/esm/tests/auto_beam_formatting_tests.js
A build/esm/tests/bach_tests.js
A build/esm/tests/barline_tests.js
A build/esm/tests/beam_tests.js
A build/esm/tests/bend_tests.js
A build/esm/tests/boundingbox_tests.js
A build/esm/tests/chordsymbol_tests.js
A build/esm/tests/clef_tests.js
A build/esm/tests/crossbeam_tests.js
A build/esm/tests/curve_tests.js
A build/esm/tests/dot_tests.js
A build/esm/tests/easyscore_tests.js
A build/esm/tests/factory_tests.js
A build/esm/tests/font_tests.js
A build/esm/tests/formatter/framestack.js
A build/esm/tests/formatter/tests.js
A build/esm/tests/formatter_tests.js
A build/esm/tests/fraction_tests.js
A build/esm/tests/ghostnote_tests.js
A build/esm/tests/glyphnote_tests.js
A build/esm/tests/gracenote_tests.js
A build/esm/tests/gracetabnote_tests.js
A build/esm/tests/index.js
A build/esm/tests/key_clef_tests.js
A build/esm/tests/keymanager_tests.js
A build/esm/tests/keysignature_tests.js
A build/esm/tests/mocks.js
A build/esm/tests/modifier_tests.js
A build/esm/tests/multimeasurerest_tests.js
A build/esm/tests/music_tests.js
A build/esm/tests/notehead_tests.js
A build/esm/tests/notesubgroup_tests.js
A build/esm/tests/offscreencanvas_tests.js
A build/esm/tests/ornament_tests.js
A build/esm/tests/parser_tests.js
A build/esm/tests/pedalmarking_tests.js
A build/esm/tests/percussion_tests.js
A build/esm/tests/qunit/qunit.js
A build/esm/tests/registry_tests.js
A build/esm/tests/renderer_tests.js
A build/esm/tests/rests_tests.js
A build/esm/tests/rhythm_tests.js
A build/esm/tests/stave_tests.js
A build/esm/tests/staveconnector_tests.js
A build/esm/tests/stavehairpin_tests.js
A build/esm/tests/staveline_tests.js
A build/esm/tests/stavemodifier_tests.js
A build/esm/tests/stavenote_tests.js
A build/esm/tests/stavetie_tests.js
A build/esm/tests/stringnumber_tests.js
A build/esm/tests/strokes_tests.js
A build/esm/tests/style_tests.js
A build/esm/tests/tabnote_tests.js
A build/esm/tests/tabslide_tests.js
A build/esm/tests/tabstave_tests.js
A build/esm/tests/tabtie_tests.js
A build/esm/tests/textbracket_tests.js
A build/esm/tests/textnote_tests.js
A build/esm/tests/threevoice_tests.js
A build/esm/tests/tickcontext_tests.js
A build/esm/tests/timesignature_tests.js
A build/esm/tests/tremolo_tests.js
A build/esm/tests/tuning_tests.js
A build/esm/tests/tuplet_tests.js
A build/esm/tests/typeguard_tests.js
A build/esm/tests/unison_tests.js
A build/esm/tests/vexflow_test_helpers.js
A build/esm/tests/vf_prefix_tests.js
A build/esm/tests/vibrato_tests.js
A build/esm/tests/vibratobracket_tests.js
A build/esm/tests/voice_tests.js
A build/types/entry/vexflow-debug.d.ts
A build/types/entry/vexflow.d.ts
A build/types/src/accidental.d.ts
A build/types/src/annotation.d.ts
A build/types/src/articulation.d.ts
A build/types/src/barnote.d.ts
A build/types/src/beam.d.ts
A build/types/src/bend.d.ts
A build/types/src/boundingbox.d.ts
A build/types/src/canvascontext.d.ts
A build/types/src/chordsymbol.d.ts
A build/types/src/clef.d.ts
A build/types/src/clefnote.d.ts
A build/types/src/crescendo.d.ts
A build/types/src/curve.d.ts
A build/types/src/dot.d.ts
A build/types/src/easyscore.d.ts
A build/types/src/element.d.ts
A build/types/src/factory.d.ts
A build/types/src/flow.d.ts
A build/types/src/font.d.ts
A build/types/src/formatter.d.ts
A build/types/src/fraction.d.ts
A build/types/src/frethandfinger.d.ts
A build/types/src/ghostnote.d.ts
A build/types/src/glyphnote.d.ts
A build/types/src/glyphs.d.ts
A build/types/src/gracenote.d.ts
A build/types/src/gracenotegroup.d.ts
A build/types/src/gracetabnote.d.ts
A build/types/src/index.d.ts
A build/types/src/keymanager.d.ts
A build/types/src/keysignature.d.ts
A build/types/src/keysignote.d.ts
A build/types/src/metrics.d.ts
A build/types/src/modifier.d.ts
A build/types/src/modifiercontext.d.ts
A build/types/src/multimeasurerest.d.ts
A build/types/src/music.d.ts
A build/types/src/note.d.ts
A build/types/src/notehead.d.ts
A build/types/src/notesubgroup.d.ts
A build/types/src/ornament.d.ts
A build/types/src/parenthesis.d.ts
A build/types/src/parser.d.ts
A build/types/src/pedalmarking.d.ts
A build/types/src/registry.d.ts
A build/types/src/rendercontext.d.ts
A build/types/src/renderer.d.ts
A build/types/src/repeatnote.d.ts
A build/types/src/stave.d.ts
A build/types/src/stavebarline.d.ts
A build/types/src/staveconnector.d.ts
A build/types/src/stavehairpin.d.ts
A build/types/src/staveline.d.ts
A build/types/src/stavemodifier.d.ts
A build/types/src/stavenote.d.ts
A build/types/src/staverepetition.d.ts
A build/types/src/stavesection.d.ts
A build/types/src/stavetempo.d.ts
A build/types/src/stavetext.d.ts
A build/types/src/stavetie.d.ts
A build/types/src/stavevolta.d.ts
A build/types/src/stem.d.ts
A build/types/src/stemmablenote.d.ts
A build/types/src/stringnumber.d.ts
A build/types/src/strokes.d.ts
A build/types/src/svgcontext.d.ts
A build/types/src/system.d.ts
A build/types/src/tables.d.ts
A build/types/src/tabnote.d.ts
A build/types/src/tabslide.d.ts
A build/types/src/tabstave.d.ts
A build/types/src/tabtie.d.ts
A build/types/src/textbracket.d.ts
A build/types/src/textdynamics.d.ts
A build/types/src/textnote.d.ts
A build/types/src/tickable.d.ts
A build/types/src/tickcontext.d.ts
A build/types/src/timesignature.d.ts
A build/types/src/timesignote.d.ts
A build/types/src/tremolo.d.ts
A build/types/src/tuning.d.ts
A build/types/src/tuplet.d.ts
A build/types/src/typeguard.d.ts
A build/types/src/util.d.ts
A build/types/src/version.d.ts
A build/types/src/vex.d.ts
A build/types/src/vibrato.d.ts
A build/types/src/vibratobracket.d.ts
A build/types/src/voice.d.ts
A build/types/src/web.d.ts
M package-lock.json
M package.json
AM releases/vexflow-debug.js
AM releases/vexflow-min.js
? Publish vxflw-early-access@alpha to npm? Yes
? Please enter OTP for npm: XXXXXXX
? Commit (Release VexFlow 5.0.0-alpha.6)? Yes
? Tag (5.0.0-alpha.6)? Yes
? Push? Yes
? Create a pre-release on GitHub (5.0.0-alpha.6)? Yes
$ grunt v309:remove
Running "v309:remove" (v309) task
rm 'releases/vexflow-min.js'
rm 'releases/vexflow-debug.js'
Done.
$ echo Successfully released vxflw-early-access 5.0.0-alpha.6 to https://github.com/vexflow/vexflow
Successfully released vxflw-early-access 5.0.0-alpha.6 to https://github.com/vexflow/vexflow
🔗 https://www.npmjs.com/package/vxflw-early-access
🔗 https://github.com/vexflow/vexflow/releases/tag/5.0.0-alpha.6
🏁 Done (in 74s.)
Removing build/ folder...
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 275 bytes | 275.00 KiB/s, done.
Total 2 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:vexflow/vexflow.git
ccbd66ba..fc500773 main -> main
Done.
Here's one thing you can test:
$ node
> process.env.GITHUB_TOKEN
'ghp_XXXXXXXXXXXXXXXXXXXXX'
Viewing process.env.GITHUB_TOKEN
in the node CLI should show your GitHub access token.
I replaced my actual github token with the XXXX above, but when you run the command it should show the token that you created for release-it.
Maybe you can try creating a new one? Create the token here: https://github.com/settings/tokens/new?scopes=repo&description=release-it
I guess the next thing to check will be your access rights to the repo.
Sure, I can make a release.
However, in your vexflow-examples HTML I see:
https://cdn.jsdelivr.net/npm/vxflw-early-access@latest/build/cjs/vexflow.js
@latest
doesn't work in this instance (because we haven't made a 5.0 release). You need to specify the exact alpha revision like so:https://cdn.jsdelivr.net/npm/vxflw-early-access@5.0.0-alpha.5/build/cjs/vexflow.js
Try it out and let me know if it works. Your release seemed to successfully publish to NPM, but it failed to commit and push to GitHub. (Unfortunately I don't know if there is a way to make NPM+GitHub an atomic transaction.)
But if we can debug your GitHub troubles, then you will be able to release to both NPM and GitHub.
I feel like it's an access or token problem. We can check after I make this release.
@ronyeh thanks for the release. I have seen that @alpha
gets the last one.
It looks like we have the same privileges for this repository:
So maybe you need to try making a new github personal access token:
Use this URL: https://github.com/settings/tokens/new?scopes=repo&description=release-it
I make sure all the repo checkboxes are checked.
Then I copy the token and keep it secret. It looks something like this:
ghp_ABCD5432432XXXYYY
On your command line, you can always provide the GITHUB_TOKEN along with the grunt release:alpha command like so:
GITHUB_TOKEN=ghp_ABCD5432432XXXYYY grunt release:dry-run:alpha
In the above, I included the dry-run
option so it doesn't actually do anything.
You can also test release-it
on your own personal project, by publishing it to GitHub and NPM. You can use the same personal access token and it will work on any repo that you have repo access to.
I will try a release later today and I will update the examples.
Have you tried using your GitHub token and release-it on a sample toy project? That's what I did before doing vexflow releases. I shipped many patch releases of my toy project until I was confident the script worked well.
On Fri, Oct 20, 2023, 10:41 AM Rodrigo Vilar @.***> wrote:
I will try a release later today and I will update the examples.
— Reply to this email directly, view it on GitHub https://github.com/vexflow/vexflow/issues/116#issuecomment-1773141924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB2MCJWHSVF3CZ6IXPWFLTYAKZS7AVCNFSM6AAAAAA5RVPIY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTGE2DCOJSGQ . You are receiving this because you were mentioned.Message ID: @.***>
Sorry no I did not. It does not work for me. The release is in npm, the tags are there but it is not accpeted as release.
Everything rolled back
What do you mean rolled back? Did something get pushed to GitHub? If so, that's a good sign!
I do not see alpha 7 in NPM: https://www.npmjs.com/package/vxflw-early-access?activeTab=versions
I unpublish it
npm unpublish vxflw-early-access@5.0.0-alpha.7 -f
@ronyeh I managed to do a release, thanks a lot for your support!
We should document here what the problem was, and how you fixed it. It will help future maintainers run the release-it script.
In this case the problem was related to SSH Keys.
Here are the release-it docs:
https://github.com/release-it/release-it/blob/main/docs/git.md
https://github.com/release-it/release-it/blob/main/docs/github-releases.md
The release-it script pushes to git@github.com:vexflow/vexflow.git
. You need to set up your SSH keys so that the script can push to this URL on your behalf.
https://github.com/settings/keys
After setting up SSH keys, you can push to any repo as long as you have the access rights/permissions.
I wrote up a document on how to make a release. For the next alpha, @rvilarl should attempt to make the release. :-)
We can do this after a few more PRs are merged (I'll submit my PRs later this week).
Don't worry. Since we are working under a separate NPM project during V5 development, we can't really break anything.
Follow the documentation at: https://github.com/vexflow/vexflow/wiki/Release-to-GitHub-and-NPM
Once everything is set up correctly, it should be as "simple" as running:
We can do this sometime next week. Let me know if you have any questions!