-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from opossum-tool/feat-release-procedure
Feat release procedure
- Loading branch information
Showing
3 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# SPDX-FileCopyrightText: Meta Platforms, Inc. and its affiliates | ||
# SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Publish release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish-release: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ['3.13'] | ||
include: | ||
- os: ubuntu-latest | ||
asset-name: opossum-file-for-ubuntu | ||
- os: macos-latest | ||
asset-name: opossum-file-for-mac | ||
- os: windows-latest | ||
asset-name: opossum-file-for-windows.exe | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install uv and set the python version | ||
uses: astral-sh/setup-uv@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
enable-cache: true | ||
cache-dependency-glob: "uv.lock" | ||
|
||
- name: Install the project | ||
run: uv sync --locked | ||
|
||
- name: Run build script | ||
run: uv run python build.py ${{ matrix.asset-name }} | ||
|
||
- name: Upload release asset | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: dist/${{ matrix.asset-name }} | ||
|
||
- name: Upload readme | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com> | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
# Contributors (sorted alphabetically) | ||
|
||
- **[Adrian Braemer](https://github.com/abraemer)** (<[email protected]>) | ||
- **[Alexander zur Bonsen](https://github.com/alexzurbonsen)** | ||
- **[Benedikt Richter](https://github.com/benedikt-richter)** (<[email protected]>) | ||
- **[Dominikus Hellgartner](https://github.com/Hellgartner)** (<[email protected]>) | ||
- **[Jakob Schubert](https://github.com/JakobSchubert)** | ||
- **[Max Huneshagen](https://github.com/MaxHun)** | ||
- **[Maxim Stykow](https://github.com/mstykow)** | ||
- **[Maximilian Huber](https://github.com/maxhbr)** (<[email protected]>) | ||
- **[Meret Behrens](https://github.com/meretp)** | ||
- **[Philipp Martens](https://github.com/PhilippMa)** (<[email protected]>) | ||
|
||
[Contributors list on GitHub](https://github.com/opossum-tool/OpossumUI/contributors). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters