Fix latest nightly commit hash
This commit is contained in:
parent
4abe012372
commit
94df518833
3 changed files with 36 additions and 30 deletions
22
.github/workflows/linux_build.yml
vendored
22
.github/workflows/linux_build.yml
vendored
|
@ -68,6 +68,18 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
|
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
echo "NIGHTLYDATETIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $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
|
- name: Update Latest Nightly 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
|
||||||
|
@ -82,16 +94,6 @@ 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
|
||||||
|
|
22
.github/workflows/macOS_build.yml
vendored
22
.github/workflows/macOS_build.yml
vendored
|
@ -62,6 +62,18 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
|
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
echo "NIGHTLYDATETIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $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
|
- name: Update Latest Nightly 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
|
||||||
|
@ -76,16 +88,6 @@ 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
|
||||||
|
|
22
.github/workflows/windows_build.yml
vendored
22
.github/workflows/windows_build.yml
vendored
|
@ -45,6 +45,18 @@ jobs:
|
||||||
chcp 65001 #set code page to utf-8
|
chcp 65001 #set code page to utf-8
|
||||||
echo ("NIGHTLYDATE=" + (Get-Date -format "yyyy-MM-dd")) >> $env:GITHUB_ENV
|
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
|
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
|
- name: Update Latest Nightly 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
|
||||||
|
@ -59,16 +71,6 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue