Skip to content

Commit

Permalink
misc: correct git ref in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed May 27, 2024
1 parent c210fd0 commit 8de8c98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:

- name: Fetch Dev Manifest from Metadata Branch
run: |
git checkout metadata -- dev/manifest.json;
git checkout origin/metadata -- dev/manifest.json;
rm manifest.json;
mv dev/manifest.json manifest.json;
rmdir dev;
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
git add ./artifacts/shoko_${{ needs.current_info.outputs.version }}.zip;
git stash push -m "Temp release details";
git reset --hard;
git checkout metadata;
git checkout origin/metadata -B metadata;
git stash pop || git stash apply;
git reset;
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fetch-depth: 0 # This is set to download the full git history for the repo

- name: Get Current Version
id: previous_release_info
id: release_info
uses: revam/gh-action-get-tag-and-version@v1
with:
branch: false
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Fetch Stable Manifest from Metadata Branch
run: |
git checkout metadata -- stable/manifest.json;
git checkout origin/metadata -- stable/manifest.json;
rm manifest.json;
mv stable/manifest.json manifest.json;
rmdir stable;
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
git add ./artifacts/shoko_${{ needs.current_info.outputs.version }}.zip;
git stash push -m "Temp release details";
git reset --hard;
git checkout metadata;
git checkout origin/metadata -B metadata;
git stash pop || git stash apply;
git reset;
Expand Down

0 comments on commit 8de8c98

Please sign in to comment.