Fix latest nightly commit hash

This commit is contained in:
manongjohn 2021-05-28 16:20:57 -04:00
parent 4abe012372
commit 94df518833
3 changed files with 36 additions and 30 deletions

View file

@ -68,6 +68,18 @@ jobs:
run: |
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
echo "NIGHTLYDATETIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $GITHUB_ENV
- name: Create/Update 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 fetch --unshallow
git tag -f nightly
git push -f origin nightly
git tag -f nightly-${{ github.sha }}
git config --unset-all http.https://github.com/.extraheader
git push -f nightly_repo nightly-${{ github.sha }}
git remote rm nightly_repo
- name: Update Latest Nightly Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1
@ -82,16 +94,6 @@ jobs:
replacesArtifacts: true
tag: nightly
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
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1

View file

@ -62,6 +62,18 @@ jobs:
run: |
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
echo "NIGHTLYDATETIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $GITHUB_ENV
- name: Create/Update 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 fetch --unshallow
git tag -f nightly
git push -f origin nightly
git tag -f nightly-${{ github.sha }}
git config --unset-all http.https://github.com/.extraheader
git push -f nightly_repo nightly-${{ github.sha }}
git remote rm nightly_repo
- name: Update Latest Nightly Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1
@ -76,16 +88,6 @@ jobs:
replacesArtifacts: true
tag: nightly
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
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1

View file

@ -45,6 +45,18 @@ jobs:
chcp 65001 #set code page to utf-8
echo ("NIGHTLYDATE=" + (Get-Date -format "yyyy-MM-dd")) >> $env:GITHUB_ENV
echo ("NIGHTLYDATETIME=" + (Get-Date -format "yyyy-MM-dd HH:mm:ss UTC")) >> $env:GITHUB_ENV
- name: Create/Update 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 fetch --unshallow
git tag -f nightly
git push -f origin nightly
git tag -f nightly-${{ github.sha }}
git config --unset-all http.https://github.com/.extraheader
git push -f nightly_repo nightly-${{ github.sha }}
git remote rm nightly_repo
- name: Update Latest Nightly Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1
@ -59,16 +71,6 @@ jobs:
replacesArtifacts: true
tag: nightly
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
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: ncipollo/release-action@v1