Fix nightly release commit hash

This commit is contained in:
manongjohn 2021-05-28 13:47:52 -04:00
parent a6b6269c7c
commit 4abe012372
3 changed files with 30 additions and 0 deletions

View file

@ -82,6 +82,16 @@ jobs:
replacesArtifacts: true replacesArtifacts: true
tag: nightly tag: nightly
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Nightlies Tag
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
git remote add nightly_repo https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git
git config lfs.https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git.lfs.locksverify false
git config --unset-all http.https://github.com/.extraheader
git fetch --unshallow
git tag -f nightly-${{ github.sha }}
git push -f nightly_repo nightly-${{ github.sha }}
git remote rm nightly_repo
- name: Create Nightlies Release - name: Create Nightlies Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1

View file

@ -76,6 +76,16 @@ jobs:
replacesArtifacts: true replacesArtifacts: true
tag: nightly tag: nightly
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Nightlies Tag
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
git remote add nightly_repo https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git
git config lfs.https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git.lfs.locksverify false
git config --unset-all http.https://github.com/.extraheader
git fetch --unshallow
git tag -f nightly-${{ github.sha }}
git push -f nightly_repo nightly-${{ github.sha }}
git remote rm nightly_repo
- name: Create Nightlies Release - name: Create Nightlies Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1

View file

@ -59,6 +59,16 @@ jobs:
replacesArtifacts: true replacesArtifacts: true
tag: nightly tag: nightly
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Nightlies Tag
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
git remote add nightly_repo https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git
git config lfs.https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git.lfs.locksverify false
git config --unset-all http.https://github.com/.extraheader
git fetch --unshallow
git tag -f nightly-${{ github.sha }}
git push -f nightly_repo nightly-${{ github.sha }}
git remote rm nightly_repo
- name: Create Nightlies Release - name: Create Nightlies Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1