Skip to content

Commit

Permalink
Fix license and regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
yvvki committed Jul 20, 2023
1 parent 42dcfd1 commit 890b387
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.travis.yml
Cargo.toml
README.md
Expand Down
2 changes: 1 addition & 1 deletion crates/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "revolt_api"
version = "0.6.5"
authors = ["[email protected]", "Yuuki Rika <[email protected]>"]
description = "Open source user-first chat platform."
license = "AGPLv3"
license = "AGPL-3.0-or-later"
edition = "2018"
repository.workspace = true

Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ if (!apiCargo['package']['authors'].includes(me)) {
// Inherit the workspace repository.
apiCargo['package']['repository'] = { 'workspace': true };

// Fix license
apiCargo['package']['license'] = "AGPL-3.0-or-later";

// Serialize
fs.writeFileSync(
'crates/api/Cargo.toml',
Expand Down

0 comments on commit 890b387

Please sign in to comment.