Skip to content
Snippets Groups Projects
Unverified Commit 5fc33ed9 authored by Matthew Clarkson's avatar Matthew Clarkson
Browse files

feat: upload anything in the `dist/` directory

parent 34ac5e78
No related branches found
No related tags found
No related merge requests found
......@@ -38,3 +38,11 @@ Add the token as a `GITLAB_TOKEN` CI protected/masked variable.
### Bazel
The configuration includes semantic-release/bazelisk> that allows the `//release:{verify,prepare,publish,notify}` Bazel targets to run.
### `dist`
Any files put in the `dist` directory will be uploaded as release artifacts.
Combined with the semantic-release/bazelisk> Bazel target hooks, this provides an easy way to add built targets to the release.
Create a `bazelisk run -- //release:prepare` target that creates a `dist` directory filled with release assets.
......@@ -43,6 +43,12 @@
"path": "icon.svg",
"type": "image"
},
{
"path": "dist/**/*",
"type": "package",
"target": "generic_package",
"status": "hidden"
},
{
"path": "${env.CI_PROJECT_NAME}-v${nextRelease.version}.tar.gz",
"label": "${env.CI_PROJECT_NAME}-v${nextRelease.version}.tar.gz",
......
  • Congregate Migrate @congregate_migrate

    mentioned in commit e5b01981

    By GITLAB_TOKEN on 2024-04-03T21:28:27

    · Imported

    mentioned in commit e5b01981

    By GITLAB_TOKEN on 2024-04-03T21:28:27

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment