Testing new format

This commit is contained in:
2024-06-03 22:17:35 -05:00
parent f1079e2fa8
commit b7c7424377

View File

@@ -14,10 +14,8 @@ jobs:
- name: Fetch release version - name: Fetch release version
id: version-check id: version-check
run: | run: |
curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \ GITEA_OUTPUT="VERSION_TAG=$(curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | jq -r .tag_name)"
jq -r ".tag_name" > $VERSION_TAG echo "$GITEA_OUTPUT" > release-versions/panel-latest.txt
echo "$VERSION_TAG" > release-versions/panel-latest.txt
echo "$PNAEL_VERSION=$VERSION_TAG"
- name: Check for modified files - name: Check for modified files
id: git-check id: git-check
run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true") run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")
@@ -26,5 +24,5 @@ jobs:
run: | run: |
git config --global user.name 'Mindfang' git config --global user.name 'Mindfang'
git config --global user.email 'mindfang@taco.quest' git config --global user.email 'mindfang@taco.quest'
git commit -am "Trigger new release autobuild" git commit -am "Trigger new release autobuild for ${{ steps.vars.outputs.VERSION_TAG }}"
git push git push