Compare commits

2 Commits

Author SHA1 Message Date
3bbefa9647 feat: first draft of release workflow 2026-03-15 21:51:53 +01:00
e7e628992a feat: added changelog 2026-03-15 21:51:27 +01:00
2 changed files with 66 additions and 4 deletions

View File

@@ -15,7 +15,25 @@ jobs:
preset: ["Windows Desktop", "Linux/X11", "macOS"] preset: ["Windows Desktop", "Linux/X11", "macOS"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- name: Extract version from CHANGELOG
id: changelog
uses: release-drafter/release-drafter@v5
with:
changelog-file: CHANGELOG.md
template: |
name: ${{ version }}
body: |
${{ description }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Create Release also creates an Tag
# - name: Create git tag
# uses: alazhar/gitea-action-autotag@v1
# with:
# tag: ${{ steps.changelog.outputs.version }}
- name: Build - name: Build
id: build id: build
@@ -24,7 +42,20 @@ jobs:
EXPORT_PRESET_NAME: ${{ matrix.preset }} EXPORT_PRESET_NAME: ${{ matrix.preset }}
- name: Upload builds - name: Upload builds
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v5
with: with:
name: ${{ matrix.preset }}-build name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}
path: ${{ steps.build.outputs.build }} path: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}.tar.gz
- name: Create Release
uses: akkuman/gitea-release-action@v1
with:
server_url: https://git.arthurerlich.de
tag_name: ${{ steps.changelog.outputs.version }}
name: "Release ${{ steps.changelog.outputs.version }}"
body: ${{ steps.changelog.outputs.description }}
files: |
godot-Windows Desktop-v${{ steps.changelog.outputs.version }}.tar.gz
godot-Linux/X11-v${{ steps.changelog.outputs.version }}.tar.gz
godot-macOS-v${{ steps.changelog.outputs.version }}.tar.gz
draft: false

31
CHANGELOG.md Normal file
View File

@@ -0,0 +1,31 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
### Changed
### Removed
## [0.0.1] - 2026-03-15
### Added
- First inital release of the Expremerts
- Created Changelog
- Added pipline for sonar
- Added pipline for releases
- Created UI Elements to exit the game
- added four minigames to test
### Fixed
### Changed
### Removed