mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reduce the number of releases
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
038117ff26
commit
c13edf921e
2 files changed
+6
-2
No files matched your search
@@ -1,12 +1,16 @@
|
||||
name: Publish NPM Package `master`
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types:
|
||||
- closed
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish NPM Package `master`
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == true
|
||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'area/extension') }}
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
@@ -33,7 +33,7 @@ if (NPM_RELEASE_TAG !== "latest") {
|
||||
encoding: "utf-8",
|
||||
});
|
||||
|
||||
version.inc("prerelease", gitRef.trim());
|
||||
version.inc("prerelease", `git.${gitRef.trim()}`);
|
||||
}
|
||||
|
||||
packageInfo.version = version.format();
|
||||
|
||||
Reference in new issue
Block a user