gitea actions ng30
This commit is contained in:
@@ -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 }}
|
||||
|
||||
- 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 }}
|
||||
Reference in New Issue
Block a user