Testing new format
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user