question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publish pre-release versions to npm with next tag

See original GitHub issue

Last time when I tried to install ng-packagr with npm it installed the release candidate version but It should install the latest final version not alpha, beta or rc version.

So, unreleased version can be published using beta tag. 😄

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
dhergescommented, Nov 10, 2017

Written a wonderful regex which seems to match 😄

[[ v1.0.0-rc.0 =~ v([0-9]{1,1})\.([0-9]{1,1})\.([0-9]{1,1})-([a-zA-Z]+)\.*.* ]] && echo ${BASH_REMATCH[4]}

tested on https://www.regexpal.com/

0reactions
github-actions[bot]commented, Jun 19, 2020

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish a prerelease package to NPM - GitHub Gist
Update package.json , set version to a prerelease version, e.g. 2.0.0-rc1 ... Run npm pack to create package; Run npm publish <package>.tgz --tag...
Read more >
Prereleases and Npm - Medium
Pre-release versions have a lower precedence than the associated normal version. A pre-release version indicates that the version is unstable ...
Read more >
How to generate NPM release candidate version
As of npm 6.3.0-next.0 you can now use --preid when tagging pre-releases with version . npm version prerelease --preid=next.
Read more >
Pre-releasing an npm package - makandra dev
Publishing to a pre-release tag. npm packages have multiple "current" releases, identified by "tags". The default tag is latest . It is expected ......
Read more >
npm-version
'npm view <pkg> version' to view a package's published version ... field. from-git will try to read the latest git tag, and use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found