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

Commit e7fd0cf

Browse files
committed
add releaser metadata
1 parent 5128857 commit e7fd0cf

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-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 DynamoDB, which is slow. They've already been run in CI.

.ldrelease/config.yml

Whitespace-only changes.

.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)