diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index b6d18a7..3d37b69 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -237,10 +237,21 @@ jobs: echo "== Neuer Inhalt von changelog.txt ==" head -n 5 "$FILE" - git status - + cd ~ + pwd env: FILE: "changelog.txt" VERSION: ${{ steps.daten.outputs.version }} - #PRERELEASE: ${{ steps.daten.outputs.prerelease }} - #CHANNEL: ${{ steps.daten.outputs.channel }} \ No newline at end of file + + - name: Repository aktualisieren + run: | + cd plugin + + git add metadata.txt changelog.txt + git commit -m "Release $VERSION" + + git push origin "$CHANNEL" + env: + CHANNEL: ${{ steps.daten.outputs.channel }} + VERSION: ${{ steps.daten.outputs.version }} + RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} \ No newline at end of file