Skip to content

Commit 7479873

Browse files
authored
Feat: Add publishing date for non-official sources (#914)
* Add publising date timestamp * Update version * Fixes after code review * Fix versions * Update release date
1 parent 9b38d89 commit 7479873

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

Changelog.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ This project does _not_ adhere to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
88
every new version is a new major version.
99

10-
## 174.0.0 - UNRELEASED
10+
## 174.0.0 - 2024-04-30
1111

1212
### Added
1313

1414
- `setPaneDisabled` to disable a pane from the `NavMenu`.
1515
- `setPaneHidden` to hide a pane from the `NavMenu`.
1616
- `preHidden` and `preDisabled` properties in `Pane` type passed to `App`.
17+
- Publish timestamp for nordic-publish for non-official sources.
1718

1819
#### Changed
1920

@@ -32,17 +33,17 @@ every new version is a new major version.
3233

3334
### Added
3435

35-
- Support for splitting M1 and x64 nrfutil sandboxes
36+
- Support for splitting M1 and x64 nrfutil sandboxes.
3637

3738
## 172.0.0 - 2024-04-15
3839

3940
### Fixed
4041

41-
- nrf9151 and nrf9131 not have the modem trait set to true
42+
- nrf9151 and nrf9131 not have the modem trait set to true.
4243

4344
### Changed
4445

45-
- All `NRF91` devices are now considered to have modem trait
46+
- All `NRF91` devices are now considered to have modem trait.
4647

4748
## 171.0.0 - 2024-04-04
4849

ipc/MetaFiles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export type AppVersions = {
2121

2222
export type AppVersion = {
2323
shasum?: string;
24+
publishTimestamp?: string;
2425
tarballUrl: UrlString;
2526
nrfutilModules?: NrfutilModules;
2627
};

ipc/apps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ interface Installed {
3434
repositoryUrl?: UrlString;
3535
html?: string;
3636
installed: {
37+
publishTimestamp?: string;
3738
path: string;
3839
shasum?: string;
3940
};

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/nordic-publish.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ interface LegacyAppInfo {
2424
versions?: {
2525
[version: string]: {
2626
dist: {
27+
publishTimestamp?: string;
2728
tarball: string;
2829
shasum: string;
2930
};
@@ -372,6 +373,7 @@ const getUpdatedAppInfo = async (app: App): Promise<AppInfo> => {
372373
...oldAppInfo.versions,
373374
[version]: {
374375
tarballUrl: `${app.sourceUrl}/${app.filename}`,
376+
publishTimestamp: new Date().toISOString(),
375377
shasum: app.shasum,
376378
nrfutilModules,
377379
},

0 commit comments

Comments
 (0)