Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0 #6

Merged
merged 233 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
84116c6
basic setup, models
jkowalleck Mar 6, 2022
a29cd9f
wip
jkowalleck Mar 6, 2022
a5a6285
wip
jkowalleck Mar 6, 2022
b150b92
wip
jkowalleck Mar 6, 2022
3729da0
wip
jkowalleck Mar 6, 2022
1702b61
wip
jkowalleck Mar 26, 2022
0793f5b
wip
jkowalleck Mar 26, 2022
cd31bc2
wip
jkowalleck Mar 26, 2022
4880352
wip
jkowalleck Mar 26, 2022
37e1246
wip
jkowalleck Mar 26, 2022
a96a5cd
wip
jkowalleck Mar 26, 2022
49dae58
wip
jkowalleck Mar 26, 2022
f2b0a5f
wip
jkowalleck Mar 26, 2022
22c5f0b
wip
jkowalleck Mar 26, 2022
6ace92d
wip
jkowalleck Mar 26, 2022
af86dc0
wip
jkowalleck Mar 26, 2022
75a7673
wip
jkowalleck Mar 26, 2022
fd6dcb4
wip
jkowalleck Apr 1, 2022
3fb3fb7
tests
jkowalleck Mar 29, 2022
2777f4e
wip
jkowalleck Apr 1, 2022
4b1720e
wip
jkowalleck Apr 1, 2022
d7aaae9
wip
jkowalleck Apr 1, 2022
6a2e530
wip
jkowalleck Apr 1, 2022
e9dd3d6
wip
jkowalleck Apr 1, 2022
524141c
wip
jkowalleck Apr 1, 2022
6b622b0
wip
jkowalleck Apr 1, 2022
f8d704b
wip
jkowalleck Apr 1, 2022
59433f8
wip
jkowalleck Apr 1, 2022
cd2d870
wip
jkowalleck Apr 1, 2022
7843dc3
Bump packageurl-js from 0.0.5 to 0.0.6 (#9)
dependabot[bot] Apr 2, 2022
5b46e84
spdx foo
jkowalleck Apr 2, 2022
678efe6
spdx foo
jkowalleck Apr 2, 2022
4e48c5e
wip
jkowalleck Apr 2, 2022
cd0206b
wip
jkowalleck Apr 2, 2022
10bc637
wip
jkowalleck Apr 2, 2022
945e375
wip
jkowalleck Apr 2, 2022
5c12c3c
[DRAFT] compiled for browser (#10)
jkowalleck Apr 2, 2022
2052d27
wip (#11)
jkowalleck Apr 3, 2022
2a3abe5
wip
jkowalleck Apr 3, 2022
f30882a
wip
jkowalleck Apr 3, 2022
0ed6710
wip
jkowalleck Apr 3, 2022
7cb33f2
wip
jkowalleck Apr 3, 2022
7694f50
wip
jkowalleck Apr 3, 2022
e9782ed
wip
jkowalleck Apr 3, 2022
f84ecf0
wip
jkowalleck Apr 3, 2022
07846eb
wip
jkowalleck Apr 3, 2022
0a5937f
split build and test (#12)
jkowalleck Apr 3, 2022
09a5c78
wip
jkowalleck Apr 3, 2022
7873dca
wip
jkowalleck Apr 3, 2022
f970291
wip
jkowalleck Apr 3, 2022
654e81c
wip
jkowalleck Apr 3, 2022
71a604b
wip
jkowalleck Apr 6, 2022
d69e610
wip
jkowalleck Apr 6, 2022
0185ff8
Bump webpack from 5.71.0 to 5.72.0 (#14)
dependabot[bot] Apr 9, 2022
5f61a65
Feat/serialize json (#15)
jkowalleck Apr 10, 2022
f0a332c
wip
jkowalleck Apr 10, 2022
400679b
WIP
jkowalleck Apr 10, 2022
c6cb092
WIP
jkowalleck Apr 10, 2022
086e46d
WIP
jkowalleck Apr 10, 2022
c444a9a
WIP
jkowalleck Apr 10, 2022
b1620ef
WIP
jkowalleck Apr 10, 2022
f3bb641
WIP
jkowalleck Apr 10, 2022
255620d
test ubuntu only. should be good for now
jkowalleck Apr 11, 2022
8f7d6c5
WIP
jkowalleck Apr 12, 2022
4544a30
fixed examples
jkowalleck Apr 15, 2022
b7cc9c3
wip
jkowalleck Apr 15, 2022
8bd2cba
wip
jkowalleck Apr 15, 2022
98791cb
wip
jkowalleck Apr 15, 2022
a87f224
wip
jkowalleck Apr 15, 2022
6a05c56
wip
jkowalleck Apr 15, 2022
e3cc3c5
wip
jkowalleck Apr 15, 2022
12693da
wip
jkowalleck Apr 15, 2022
934031a
wip
jkowalleck Apr 15, 2022
898dc9d
wip
jkowalleck Apr 15, 2022
337b2e7
tests, fixes, standard, style (#20)
jkowalleck Apr 15, 2022
3a01677
wip
jkowalleck Apr 15, 2022
0f7f0ec
wip
jkowalleck Apr 15, 2022
89de7aa
wip
jkowalleck Apr 15, 2022
1edd507
wip
jkowalleck Apr 15, 2022
08b8710
wip
jkowalleck Apr 16, 2022
341d957
wip
jkowalleck Apr 16, 2022
0e86a08
wip
jkowalleck Apr 16, 2022
4b5f5a1
add json types (#21)
jkowalleck Apr 18, 2022
92beb63
wip
jkowalleck Apr 25, 2022
9ed66de
Bump @types/node from 17.0.24 to 17.0.25 (#22)
dependabot[bot] Apr 24, 2022
dcd516f
wip
jkowalleck Apr 25, 2022
abde12a
wip
jkowalleck Apr 25, 2022
854b3c4
reproducibility (#24)
jkowalleck Apr 29, 2022
16801eb
SpecVersionDict
jkowalleck Apr 29, 2022
b0bee3b
wip
jkowalleck Apr 29, 2022
e65a562
wip
jkowalleck Apr 29, 2022
d9f7997
Bump typescript from 4.6.3 to 4.6.4 (#27)
dependabot[bot] May 5, 2022
2a08e57
wip
jkowalleck May 5, 2022
0f35505
Bump @types/node from 17.0.25 to 17.0.30 (#26)
dependabot[bot] May 5, 2022
6021e72
Bump ts-loader from 9.2.8 to 9.3.0 (#25)
dependabot[bot] May 5, 2022
e0e62e2
Bump @types/node from 17.0.30 to 17.0.31 (#29)
dependabot[bot] May 7, 2022
d080276
support node18 (#30)
jkowalleck May 7, 2022
232a53c
Bump mocha from 9.2.2 to 10.0.0 (#28)
dependabot[bot] May 7, 2022
e2d92c8
Update bom.ts
jkowalleck May 7, 2022
1e4d2ff
initial dependency graph work
jkowalleck May 7, 2022
bde0ba1
wip
jkowalleck May 7, 2022
9ecf49b
wip
jkowalleck May 7, 2022
a501a4b
wip
jkowalleck May 7, 2022
61276d2
dependencies normalized (#31)
jkowalleck May 8, 2022
73b150e
wip
jkowalleck May 8, 2022
facfd20
wip
jkowalleck May 8, 2022
a288ea7
wip
jkowalleck May 8, 2022
920bf0d
wip
jkowalleck May 8, 2022
32abf5c
wip
jkowalleck May 9, 2022
9472db4
wip
jkowalleck May 9, 2022
ca08c35
wip
jkowalleck May 9, 2022
f0cbb9d
wip
jkowalleck May 10, 2022
fcf3d7a
wip
jkowalleck May 10, 2022
dd1d2b3
wip
jkowalleck May 12, 2022
1499ed4
wip
jkowalleck May 12, 2022
0a5903d
wip
jkowalleck May 12, 2022
cd64836
wip
jkowalleck May 12, 2022
e079d5a
wip
jkowalleck May 14, 2022
705132e
Bump @types/node from 17.0.31 to 17.0.33 (#34)
dependabot[bot] May 14, 2022
afcb736
Bump webpack from 5.72.0 to 5.72.1 (#33)
dependabot[bot] May 14, 2022
4d88ee5
wip
jkowalleck May 14, 2022
03916b6
wip
jkowalleck May 14, 2022
375a86e
wip
jkowalleck May 14, 2022
f57d526
wip
jkowalleck May 14, 2022
7d5d8d9
wip
jkowalleck May 14, 2022
354a9b0
wip
jkowalleck May 14, 2022
1559e7f
wip
jkowalleck May 14, 2022
2d2ca39
wip
jkowalleck May 14, 2022
c985c57
BomRefDiscriminator (#35)
jkowalleck May 15, 2022
4f36272
wip
jkowalleck May 15, 2022
fd02c50
wip
jkowalleck May 15, 2022
717e002
wip
jkowalleck May 15, 2022
b774295
wip
jkowalleck May 15, 2022
45296b7
Bump @types/node from 17.0.33 to 17.0.35 (#37)
dependabot[bot] May 21, 2022
2ff090e
Xml normalizer, string URI (#36)
jkowalleck May 21, 2022
7268ef7
wip (#39)
jkowalleck May 22, 2022
96743d0
xmlSerializer (#38)
jkowalleck May 26, 2022
4778828
wip (#41)
jkowalleck May 27, 2022
9a85007
wip
jkowalleck May 27, 2022
9e27c7a
bring CI/CT for windows nd macos (#43)
jkowalleck May 27, 2022
1a6a56b
wip (#42)
jkowalleck May 27, 2022
615746f
wip
jkowalleck May 27, 2022
717d83b
wip
jkowalleck May 28, 2022
e3fe683
wip
jkowalleck May 28, 2022
b32f3b5
wip
jkowalleck May 28, 2022
d392e05
wip
jkowalleck May 28, 2022
5d75d4c
wip
jkowalleck May 28, 2022
bfdd424
wip
jkowalleck May 28, 2022
6125bd8
wip
jkowalleck May 28, 2022
93b7e8a
wip
jkowalleck May 28, 2022
3f0bf02
wip
jkowalleck May 28, 2022
58a907b
wip
jkowalleck May 28, 2022
15028d7
wip
jkowalleck May 28, 2022
f2e99c5
Bump @types/node from 17.0.35 to 17.0.36 (#45)
dependabot[bot] May 28, 2022
fd88581
wip
jkowalleck May 28, 2022
339b8e7
wip
jkowalleck May 28, 2022
b7ea677
wip
jkowalleck May 28, 2022
341c797
wip
jkowalleck May 28, 2022
ec73934
wip
jkowalleck May 28, 2022
d3fce49
wip
jkowalleck May 28, 2022
2106ad4
Tool references (#46)
jkowalleck May 29, 2022
21e445a
wip
jkowalleck May 31, 2022
6ef7838
Resources (#48)
jkowalleck May 31, 2022
5bb1e9f
wip
jkowalleck May 31, 2022
de5e957
wip
jkowalleck May 31, 2022
0805a69
wip
jkowalleck May 31, 2022
72e82c1
wip
jkowalleck May 31, 2022
0ff6dc0
wip
jkowalleck May 31, 2022
161c4f3
wip
jkowalleck May 31, 2022
6278fba
wip
jkowalleck May 31, 2022
2548315
wip
jkowalleck May 31, 2022
edf954b
wip
jkowalleck May 31, 2022
72832d1
wip
jkowalleck May 31, 2022
c7f3835
wip
jkowalleck May 31, 2022
3af800f
wip
jkowalleck May 31, 2022
f1d8898
wip
jkowalleck May 31, 2022
aeb08a0
wip
jkowalleck Jun 1, 2022
2707994
wip
jkowalleck Jun 2, 2022
7f1c527
wip
jkowalleck Jun 3, 2022
c6d0140
wip
jkowalleck Jun 3, 2022
b8d0d71
wip
jkowalleck Jun 3, 2022
752d04f
wip
jkowalleck Jun 3, 2022
594f2ee
wip
jkowalleck Jun 3, 2022
78f9673
wip
jkowalleck Jun 3, 2022
c2d38df
wip
jkowalleck Jun 3, 2022
8fd276f
wip
jkowalleck Jun 3, 2022
0d25446
wip
jkowalleck Jun 3, 2022
9febb33
wip
jkowalleck Jun 3, 2022
2faa742
wrote summary
jkowalleck Jun 4, 2022
ee8a54c
BomRefDiscriminator cleanup
jkowalleck Jun 4, 2022
40899c1
wip
jkowalleck Jun 4, 2022
38712b4
wip
jkowalleck Jun 4, 2022
43a61a8
Bump webpack from 5.72.1 to 5.73.0 (#53)
dependabot[bot] Jun 4, 2022
6723faa
Bump @types/node from 17.0.36 to 17.0.39 (#54)
dependabot[bot] Jun 4, 2022
c44c590
wip
jkowalleck Jun 4, 2022
f58afcd
wip
jkowalleck Jun 4, 2022
106dbfa
wip
jkowalleck Jun 4, 2022
3f5eace
wip
jkowalleck Jun 4, 2022
3cd0304
wip
jkowalleck Jun 4, 2022
4284d06
wip
jkowalleck Jun 4, 2022
22489c3
wip
jkowalleck Jun 4, 2022
8e6a5a0
wip
jkowalleck Jun 4, 2022
604484b
wip
jkowalleck Jun 5, 2022
1722702
wip
jkowalleck Jun 5, 2022
fc40ef7
wip
jkowalleck Jun 5, 2022
102765c
wip
jkowalleck Jun 5, 2022
a17c91f
wip
jkowalleck Jun 5, 2022
2953b2f
wip
jkowalleck Jun 5, 2022
d579521
wip
jkowalleck Jun 5, 2022
1d31f3d
wip
jkowalleck Jun 5, 2022
11116ef
wip
jkowalleck Jun 5, 2022
23c7602
wip
jkowalleck Jun 5, 2022
ef2c3f3
wip
jkowalleck Jun 5, 2022
3728574
wip
jkowalleck Jun 5, 2022
1e47170
wip
jkowalleck Jun 6, 2022
c39ce68
wip
jkowalleck Jun 6, 2022
71e5d0f
wip
jkowalleck Jun 6, 2022
03b3a2b
Xml serializer for node (#60)
jkowalleck Jun 7, 2022
bfe7197
wip
jkowalleck Jun 7, 2022
4df4637
wip
jkowalleck Jun 7, 2022
2ef4bc5
wip
jkowalleck Jun 7, 2022
0f71a41
wip
jkowalleck Jun 7, 2022
118bc08
wip
jkowalleck Jun 7, 2022
85a3aed
wip
jkowalleck Jun 7, 2022
f3c4b50
wip
jkowalleck Jun 7, 2022
a6ac1b4
wip
jkowalleck Jun 7, 2022
3b4348a
wip
jkowalleck Jun 8, 2022
4278491
wip
jkowalleck Jun 8, 2022
4454e85
wip
jkowalleck Jun 8, 2022
e28e812
test serializer (#62)
jkowalleck Jun 8, 2022
80b7c9a
wip
jkowalleck Jun 8, 2022
29db6aa
wip
jkowalleck Jun 8, 2022
517fb40
wip
jkowalleck Jun 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# EditorConfig is awesome: https://EditorConfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.md]
# trailing white spaces are used for linebreaks in paragraphs.
trim_trailing_whitespace = false

[*.{ts,js,cjs,mjs}]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

[*.{json,cjson,cjsn}]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

[*.html]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/dist/**
/dist.*/**
/node_modules/**

!/src/**
36 changes: 36 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
'use strict'
/*!
This file is part of CycloneDX JavaScript Library.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

SPDX-License-Identifier: Apache-2.0
Copyright (c) OWASP Foundation. All Rights Reserved.
*/

/**
* @see {@link https://eslint.org/}
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
// see https://github.com/standard/ts-standard
extends: 'standard-with-typescript',
parserOptions: {
project: './tsconfig.json'
},
env: {
node: true,
browser: true
}
}
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

tsconfig.json linguist-language=JSON-with-Comments
tsconfig.*.json linguist-language=JSON-with-Comments
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: 'weekly'
day: 'saturday'

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: 'weekly'
day: 'saturday'
108 changes: 108 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions

name: Node CI

on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:


env:
NODE_ACTIVE_LTS: "16" # see https://nodejs.org/en/about/releases/

jobs:
build:
name: build ${{ matrix.target }}
runs-on: "ubuntu-latest"
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
target:
- node
- web
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
# see https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_ACTIVE_LTS }}
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: setup project
run: npm ci --ignore-scripts
- name: build for ${{ matrix.target }}
run: npm run build:${{ matrix.target }}
- name: artifact build result
# see https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v3
with:
name: dist.${{ matrix.target }}
path: dist.${{ matrix.target }}
if-no-files-found: error
test-standard:
name: test standard
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
# see https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_ACTIVE_LTS }}
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: setup project
run: npm ci --ignore-scripts
- name: test
run: npm run test:standard
test-node:
needs: [ 'build' ]
name: test node (${{ matrix.node-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version:
# action based on https://github.com/actions/node-versions/releases
# see also: https://nodejs.org/en/about/releases/
- "18" # current
- "16" # active LTS
- "14"
- "14.0.0" # lowest supported
os:
- ubuntu-latest
- macos-latest
- windows-latest
timeout-minutes: 30
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
# see https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: setup project
run: npm ci --ignore-scripts
- name: fetch build artifact
# see https://github.com/actions/download-artifact
uses: actions/download-artifact@v3
with:
name: dist.node
path: dist.node
- name: test
run: npm run test:node
# test-web:
# TODO via https://github.com/CycloneDX/cyclonedx-javascript-library/issues/51
104 changes: 104 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions

name: Release

on:
workflow_dispatch:
inputs:
newversion:
# is param from `npm version`. therefore the description should reference all the options from there
description: 'one of: [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]'
required: true
commitMessage:
description: 'Release/commit message (%s will be replaced with the resulting version number)'
default: '%s'
required: true

env:
REPORTS_DIR: CI_reports
NODE_ACTIVE_LTS: "16"

jobs:
bump:
name: bump and tag release
concurrency: release-bump
outputs:
version: ${{ steps.bump.outputs.version }}
version_plain: ${{ steps.bump.outputs.version_plain }}
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
# see https://github.com/actions/checkout
uses: actions/checkout@v3
- name: Configure Git
# needed for push back of changes
run: |
git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --local user.name "${GITHUB_ACTOR}"
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
# see https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_ACTIVE_LTS }}
## ! no npm build at the moment
- name: bump VERSION
id: bump
run: |
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE")"
echo "::debug::new version = $VERSION"
VERSION_PLAIN="${VERSION:1}" # remove 'v' prefix
echo "::debug::plain version = $VERSION_PLAIN"
echo "::set-output name=version::$VERSION"
echo "::set-output name=version_plain::$VERSION_PLAIN"
env:
NPMV_NEWVERSION: ${{ github.event.inputs.newversion }}
NPMV_MESSAGE: ${{ github.event.inputs.commitMessage }}
- name: git push back
run: git push --follow-tags
publish-NPMJS:
needs:
- "bump"
name: NPMJS - publish
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
# see https://github.com/actions/checkout
uses: actions/checkout@v3
with:
ref: ${{ needs.bump.outputs.version }}
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
# see https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_ACTIVE_LTS }}
- name: install build tools
run: npm ci --ignore-scripts
# no explicit npm build. if a build is required, it should be configured as prepublish/prepublishOnly script of npm.
- name: publish to NPMJS
run: |
npm config set "//registry.npmjs.org/:_authToken=$NPMJS_AUTH_TOKEN"
npm publish --access public
env:
NPMJS_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
release-GH:
needs:
- "bump"
- "publish-NPMJS"
name: GitHub - release
runs-on: ubuntu-latest
timeout-minutes: 30
env:
ASSETS_DIR: release_assets
steps:
- name: Create Release
id: release
# see https://github.com/softprops/action-gh-release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ needs.bump.outputs.version }}
name: ${{ needs.bump.outputs.version_plain }}
prerelease: ${{ startsWith(github.event.inputs.newversion, 'pre') }}
Loading