Skip to content

Commit 27fd0bc

Browse files
committed
feat: Update version number
1 parent 7897892 commit 27fd0bc

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

dist/index.js

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

dist/index.js.map

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

index.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,21 @@ const glob = require('glob');
66
const toolkit = require('@github/dependency-submission-toolkit');
77
const lib = require('./lib');
88

9+
const VERSION = "0.1.1";
10+
911
async function run() {
1012
let manifests = lib.getManifestsFromSpdxFiles(lib.searchFiles());
11-
13+
1214
let snapshot = new toolkit.Snapshot({
13-
name: "spdx-to-dependency-graph-action",
14-
version: "0.1.1",
15-
url: "https://github.com/advanced-security/spdx-dependency-submission-action",
16-
},
17-
github.context,
18-
{
19-
correlator:`${github.context.job}`,
20-
id: github.context.runId.toString()
21-
});
15+
name: "spdx-to-dependency-graph-action",
16+
version: VERSION,
17+
url: "https://github.com/advanced-security/spdx-dependency-submission-action",
18+
},
19+
github.context,
20+
{
21+
correlator: `${github.context.job}`,
22+
id: github.context.runId.toString()
23+
});
2224

2325
manifests?.forEach(manifest => {
2426
snapshot.addManifest(manifest);

0 commit comments

Comments
 (0)