Skip to content

Commit

Permalink
release @elastic/opentelemetry-node@0.4.1 (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm authored Oct 3, 2024
1 parent ed82cae commit 6acc4a3
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-mockotlpserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
node-version: 'v18.20.4'
registry-url: 'https://registry.npmjs.org'

- run: npm run ci-all

- name: npm publish
working-directory: ./packages/mockotlpserver
run: npm publish
Expand All @@ -36,7 +34,9 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: GitHub release
run: ./scripts/github-release.sh "packages/mockotlpserver" "${{ github.ref_name }}"
run: |
npm ci # need top-level devDeps for github-release.sh script
./scripts/github-release.sh "packages/mockotlpserver" "${{ github.ref_name }}"
env:
GH_TOKEN: ${{ github.token }}

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ jobs:

- name: GitHub release (only for tag releases)
if: startsWith(github.ref, 'refs/tags')
run: ./scripts/github-release.sh "packages/opentelemetry-node" "${{ github.ref_name }}"
run: |
npm ci # need top-level devDeps for github-release.sh script
./scripts/github-release.sh "packages/opentelemetry-node" "${{ github.ref_name }}"
env:
GH_TOKEN: ${{ github.token }}

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
all:
npm run ci-all

.PHONY: clean
clean:
npm run clean-all

.PHONY: lint
lint:
npm run lint
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"license": "Apache-2.0",
"private": true,
"scripts": {
"ci-all": "set -e; ls -d . packages/* examples | while read d; do (cd $d; echo; echo \"> $d\"; npm ci); done",
"clean-all": "ls -d . packages/* examples | while read d; do (cd $d; echo \"> $d\"; rm -rf node_modules); done",
"ci-all": "./scripts/oneach.sh npm ci",
"clean-all": "set -e; rm -rf build; ./scripts/oneach.sh rm -rf node_modules",
"oneach": "./scripts/oneach.sh",
"lint": "npm run lint:eslint && ls -d packages/* | while read d; do (cd $d; npm run lint); done",
"lint:eslint": "eslint --ext=js,mjs,cjs scripts examples # requires node >=16.0.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/opentelemetry-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @elastic/opentelemetry-node Changelog

## v0.4.1

- chore: Fix release workflow. v0.4.0 was released without a GitHub releases
entry.

## v0.4.0

- feat: A Docker image is now being published that can be used with the
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-node/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/opentelemetry-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/opentelemetry-node",
"version": "0.4.0",
"version": "0.4.1",
"type": "commonjs",
"description": "Elastic Distribution of OpenTelemetry Node.js",
"publishConfig": {
Expand Down

0 comments on commit 6acc4a3

Please sign in to comment.