mirror of
https://github.com/zitadel/zitadel.git
synced 2025-07-29 20:23:43 +00:00
chore: add assets to releases (#6346)
* chore: change pipeline to add assets to the release
This commit is contained in:
parent
4123ab7ba7
commit
77e561af72
6
.github/workflows/compile.yml
vendored
6
.github/workflows/compile.yml
vendored
@ -70,12 +70,12 @@ jobs:
|
|||||||
mv zitadel zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
|
mv zitadel zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
|
||||||
cp LICENSE zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
|
cp LICENSE zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
|
||||||
cp README.md zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
|
cp README.md zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
|
||||||
tar -cvf zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
|
tar -czvf zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
-
|
-
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
|
name: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
path: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar
|
path: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
|
||||||
|
|
||||||
checksums:
|
checksums:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
path: executables
|
path: executables
|
||||||
-
|
-
|
||||||
name: move files one folder up
|
name: move files one folder up
|
||||||
run: mv */*.tar . && find . -type d -empty -delete
|
run: mv */*.tar.gz . && find . -type d -empty -delete
|
||||||
working-directory: executables
|
working-directory: executables
|
||||||
-
|
-
|
||||||
run: sha256sum * > checksums.txt
|
run: sha256sum * > checksums.txt
|
||||||
|
2
.github/workflows/container.yml
vendored
2
.github/workflows/container.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Unpack executable
|
name: Unpack executable
|
||||||
run: |
|
run: |
|
||||||
tar -xvf .artifacts/zitadel-linux-${{ matrix.arch }}.tar
|
tar -xvf .artifacts/zitadel-linux-${{ matrix.arch }}.tar.gz
|
||||||
mv zitadel-linux-${{ matrix.arch }}/zitadel ./zitadel
|
mv zitadel-linux-${{ matrix.arch }}/zitadel ./zitadel
|
||||||
-
|
-
|
||||||
name: Debug
|
name: Debug
|
||||||
|
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Unpack executable
|
name: Unpack executable
|
||||||
run: |
|
run: |
|
||||||
tar -xvf .artifacts/zitadel-linux-amd64.tar
|
tar -xvf .artifacts/zitadel-linux-amd64.tar.gz
|
||||||
mv zitadel-linux-amd64/zitadel ./zitadel
|
mv zitadel-linux-amd64/zitadel ./zitadel
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
|
5
.github/workflows/version.yml
vendored
5
.github/workflows/version.yml
vendored
@ -27,6 +27,11 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Source checkout
|
name: Source checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
-
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
if: ${{ !inputs.dry_run }}
|
||||||
|
with:
|
||||||
|
path: .artifacts
|
||||||
-
|
-
|
||||||
name: Semantic Release
|
name: Semantic Release
|
||||||
uses: cycjimmy/semantic-release-action@v3
|
uses: cycjimmy/semantic-release-action@v3
|
||||||
|
@ -1,11 +1,45 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
branches: [
|
branches: [
|
||||||
{ name: "next" },
|
{ name: "next" },
|
||||||
{ name: "next-rc", prerelease: "rc" }
|
{ name: "next-rc", prerelease: "rc" },
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
"@semantic-release/github"
|
[
|
||||||
]
|
"@semantic-release/github",
|
||||||
|
{
|
||||||
|
assets: [
|
||||||
|
{
|
||||||
|
path: ".artifacts/zitadel-linux-amd64/zitadel-linux-amd64.tar.gz",
|
||||||
|
label: "zitadel-linux-amd64.tar.gz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ".artifacts/zitadel-linux-arm64/zitadel-linux-arm64.tar.gz",
|
||||||
|
label: "zitadel-linux-arm64.tar.gz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ".artifacts/zitadel-windows-amd64/zitadel-windows-amd64.tar.gz",
|
||||||
|
label: "zitadel-windows-amd64.tar.gz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ".artifacts/zitadel-windows-arm64/zitadel-windows-arm64.tar.gz",
|
||||||
|
label: "zitadel-windows-arm64.tar.gz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ".artifacts/zitadel-darwin-amd64/zitadel-darwin-amd64.tar.gz",
|
||||||
|
label: "zitadel-darwin-amd64.tar.gz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ".artifacts/zitadel-darwin-arm64/zitadel-darwin-arm64.tar.gz",
|
||||||
|
label: "zitadel-darwin-arm64.tar.gz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ".artifacts/checksums.txt",
|
||||||
|
label: "checksums.txt",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user