Skip to content

Commit

Permalink
chore: release v3.0.1 (#1007)
Browse files Browse the repository at this point in the history
* chore: release v3.0.1

* Upgrade actions/upload-artifact

* Fix upload/download

* Upgrade download also

* Fix

* Simplify

* final

* fix path

* log

* Fix mac

* cleanup
  • Loading branch information
mhennoch authored Feb 4, 2025
1 parent 48a6b5e commit a8c58d0
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 19 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ jobs:
- name: Prebuild
run: npm run prebuild:os ${{ matrix.node_api_target }}
- name: upload prebuilds
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: prebuilds-linux
name: prebuilds-linux-${{ matrix.node_api_target }}
path: prebuilds

prebuilds-linux-arm64:
runs-on: [self-hosted, Linux, ARM64]
strategy:
Expand All @@ -53,9 +54,9 @@ jobs:
- name: Prebuild
run: npm run prebuild:os ${{ matrix.node_api_target }}
- name: upload prebuilds
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: prebuilds-linux-arm64
name: prebuilds-linux-arm64-${{ matrix.node_api_target }}
path: prebuilds

prebuilds-macos-windows:
Expand All @@ -82,13 +83,13 @@ jobs:
- name: Prebuild
run: npm run prebuild:os ${{ matrix.node_api_target }}
- name: upload prebuilds
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: prebuilds-macos-windows
name: prebuilds-${{ runner.os }}-${{ matrix.node_api_target }}
path: prebuilds

create-package:
needs: [prebuilds-linux, prebuilds-macos-windows, prebuilds-linux-arm64]
needs: [prebuilds-linux, prebuilds-linux-arm64, prebuilds-macos-windows]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -99,14 +100,18 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: download prebuilds
uses: actions/download-artifact@v3
- name: Download all prebuilds
uses: actions/download-artifact@v4
with:
pattern: prebuilds-*
path: allprebuilds
- name: copy prebuilds
run: |
mkdir -p prebuilds
cp -r prebuilds-linux/* prebuilds
cp -r prebuilds-macos-windows/* prebuilds
cp -r prebuilds-linux-arm64/* prebuilds
mkdir -p prebuilds
cp -r allprebuilds/prebuilds-linux-arm64-*/* prebuilds
cp -r allprebuilds/prebuilds-linux-*/* prebuilds
cp -r allprebuilds/prebuilds-Windows-*/* prebuilds
cp -r allprebuilds/prebuilds-macOS-*/* prebuilds
- name: Install npm dependencies
run: npm ci --ignore-scripts
- name: Build
Expand All @@ -116,7 +121,7 @@ jobs:
run: |
echo "::set-output name=package_file::$(npm pack)"
- name: Upload package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.pack.outputs.package_file }}
path: ${{ steps.pack.outputs.package_file }}
Expand Down Expand Up @@ -196,7 +201,7 @@ jobs:
- name: Generate metadata YAML
run: node scripts/generate-metadata-yaml.js > splunk-otel-js-metadata.yaml
- name: Upload metadata yaml
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: splunk-otel-js-metadata.yaml
path: splunk-otel-js-metadata.yaml
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log - @splunk/otel


## 3.0.1

- Make 3.x latest instead of 2.16

## 3.0.0

> [!WARNING]
Expand Down
4 changes: 2 additions & 2 deletions 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splunk/otel",
"version": "3.0.0",
"version": "3.0.1",
"description": "The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.",
"repository": "git@github.com:signalfx/splunk-otel-js.git",
"author": "Splunk <splunk-oss@splunk.com>",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
* limitations under the License.
*/

export const VERSION = '3.0.0';
export const VERSION = '3.0.1';

0 comments on commit a8c58d0

Please sign in to comment.