Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit a88e169

Browse files
committed
add releaser metadata
1 parent 7842d0f commit a88e169

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

.ldrelease/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
npm install
6+
npm run lint
7+
npm run check-typescript
8+
9+
# Running the unit tests would require installing Consul, which is slow. They've already been run in CI.

.ldrelease/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
publications:
2+
- url: https://www.npmjs.com/package/launchdarkly-node-server-sdk-consul
3+
description: npm

.ldrelease/publish.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
npm publish

.ldrelease/update-version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
PACKAGE_JSON_TEMP=./package.json.tmp
4+
sed "s/\"version\".*/\"version\": \"${LD_RELEASE_VERSION}\",/g" package.json > ${PACKAGE_JSON_TEMP}
5+
mv ${PACKAGE_JSON_TEMP} package.json

0 commit comments

Comments
 (0)