Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Release v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmal-signalfx authored Sep 20, 2021
1 parent 0f6dd0c commit 82898a5
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ build
node_modules
*.tgz
.idea
/dist/
45 changes: 45 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
default:
image: 'cimg/node:lts'

cache:
key:
files:
- package-lock.json
paths:
- .npm/
- node_modules/

stages:
- setup
- test
- release

install:
stage: setup
script:
- npm ci

test:
stage: test
script:
- npm test

release:
stage: release
artifacts:
paths:
- dist/
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+.*/
except:
- branches
script:
- npm pack
- mkdir dist
- mv signalfx-lambda-${CI_COMMIT_REF_NAME:1}.tgz dist/
- shasum -a 256 dist/* > dist/checksums.txt

# release in NPM
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN_SIGNALFX" > ~/.npmrc
- npm publish ./dist/signalfx-lambda-${CI_COMMIT_REF_NAME:1}.tgz
- rm -f ~/.npmrc
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

## Unreleased

## 1.1.1 (2021-09-20)

Changes:
- allow usage of nulls and booleans as dimension values ([#45](https://github.com/signalfx/lambda-nodejs/pull/45))
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"name": "signalfx-lambda",
"version": "1.1.0",
"version": "1.1.1",
"description": "Node.js lambda wrapper for SignalFx",
"homepage": "https://signalfx.com",
"files": [
"*.js",
"README.md"
],
"author": {
"name": "SignalFx, Inc",
"email": "[email protected]",
Expand Down

0 comments on commit 82898a5

Please sign in to comment.