Skip to content

Commit bb58918

Browse files
committed
Release React Native SDK 1.0.3
1 parent 5183e20 commit bb58918

5 files changed

Lines changed: 31 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,25 @@ jobs:
1717

1818
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
20+
node-version: 24
2121
registry-url: 'https://registry.npmjs.org'
22-
cache: npm
22+
23+
- name: Show release toolchain
24+
run: |
25+
node --version
26+
npm --version
2327
2428
- name: Install dependencies
2529
run: npm ci
2630

31+
- name: Verify tag matches package version
32+
run: |
33+
PACKAGE_VERSION="$(node -p "require('./package.json').version")"
34+
if [ "v${PACKAGE_VERSION}" != "${GITHUB_REF_NAME}" ]; then
35+
echo "Tag ${GITHUB_REF_NAME} does not match package.json version ${PACKAGE_VERSION}"
36+
exit 1
37+
fi
38+
2739
- name: Typecheck
2840
run: npm run typecheck
2941

@@ -48,4 +60,4 @@ jobs:
4860

4961
- name: Publish to npm
5062
if: vars.NPM_PUBLISH_ENABLED == 'true'
51-
run: npm publish --provenance --access public
63+
run: npm publish --access public

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 1.0.3 - 2026-05-12
9+
10+
### Changed
11+
- Updated the release workflow for npm Trusted Publishing with a current Node/npm toolchain.
12+
- Switched install instructions to the public npm package.
13+
- Normalized repository metadata for npm provenance.
14+
815
## 1.0.2 - 2026-05-11
916

1017
### Changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ Mobile attribution and event tracking for React Native, with native iOS and Andr
1212
## Install
1313

1414
```bash
15-
npm install getappsprint/appsprint-react-native#v1.0.2
15+
npm install appsprint-react-native
1616
```
1717

1818
or
1919

2020
```bash
21-
yarn add getappsprint/appsprint-react-native#v1.0.2
21+
yarn add appsprint-react-native
2222
```
2323

24-
The npm package name is reserved for the public release. Until npm publishing is unblocked, install from the GitHub tag above.
25-
2624
### iOS
2725

2826
```bash

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appsprint-react-native",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "AppSprint mobile attribution SDK for React Native",
55
"main": "lib/commonjs/index.js",
66
"module": "lib/module/index.js",
@@ -30,7 +30,10 @@
3030
"prepack": "npm run validate:release"
3131
},
3232
"keywords": ["react-native", "attribution", "mobile", "analytics", "appsprint"],
33-
"repository": "https://github.com/getappsprint/appsprint-react-native",
33+
"repository": {
34+
"type": "git",
35+
"url": "git+https://github.com/getappsprint/appsprint-react-native.git"
36+
},
3437
"author": "AppSprint",
3538
"license": "MIT",
3639
"homepage": "https://appsprint.app",

0 commit comments

Comments
 (0)