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.

Support command to locally make a one off prerelease (1.2.0-beta.1)

See original GitHub issue

I often want to generate a test release of a package however the Projen release flow will always bump the patch version. It would be great to support locally generating a prerelase. Maybe a new command? npm run prerelease

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rjmackaycommented, Dec 13, 2022

I found the best way to do this in the interrim is running this to generate the build: PRERELEASE=pre npm run release Then npm publish dist/js/...

I’ll send a documentation PR if I get a chance.

1reaction
mrgraincommented, Dec 9, 2022

I want to be able to generate ad hoc pre-releases when testing a release. I don’t want ALL releases to be a pre-release.

Understood. Treating this as a feature enhancement.


In the meantime you could:

  1. Change the setting
  2. Do your release
  3. Revert the setting

Or alternatively, work on a development branch and use the release branches feature to release pre-releases from development and releases from main.


That doesn’t seem to be documented here

Not everything is in the nice docs yet. Currently prerelease is documented via code and in the API docs: https://projen.io/api/API.html#class-release--

PRs are welcome to improve the user guide!

Read more comments on GitHub >

github_iconTop Results From Across the Web

`poetry version` (1.2.0b1) doesn't work with all valid semver ...
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >
Prerelease Module Versions - PowerShell - Microsoft Learn
The PowerShellGet module provides support for tagging modules with versions greater than 1.0.0 as a prerelease using semantic versioning.
Read more >
Sysctl Support for Docker Swarm Cluster for the first time in ...
Docker CE 19.03.0 Beta 1 went public 2 week back. It was the first release which arrived with sysctl support for Docker Swarm...
Read more >
Azure.Identity 1.9.0-beta.1 - NuGet
NET. The Azure Identity library provides Azure Active Directory token authentication support across the Azure SDK. It provides a set of TokenCredential ...
Read more >
How to use GitVersion to get sensible versioning
This is the point when you start off a release branch. ... git tag 1.1.0-beta.1 > gitversion /showvariable FullSemVer 1.1.0-beta.1.
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