mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Updated nightly release script
This commit is contained in:
parent
a17eb47657
commit
b33ef608ee
6
.github/workflows/create_nightly_release.yml
vendored
6
.github/workflows/create_nightly_release.yml
vendored
@ -15,6 +15,9 @@ jobs:
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||
- name: Get version date
|
||||
id: version_date
|
||||
run: echo "::set-output name=date::n_$(date +'%y%m%d')"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
@ -28,7 +31,7 @@ jobs:
|
||||
- name: Make build folder
|
||||
run: mkdir ${{ github.workspace }}/build
|
||||
- name: Run the Docker image
|
||||
run: docker run -i -v ${{ github.workspace }}:/havoc portapack-dev
|
||||
run: docker run -e VERSION_STRING=${{ steps.version_date.outputs.date }} -i -v ${{ github.workspace }}:/havoc portapack-dev
|
||||
- name: Create Firmware ZIP
|
||||
run: |
|
||||
zip --junk-paths firmware build/firmware/portapack-h1_h2-mayhem.bin
|
||||
@ -46,6 +49,7 @@ jobs:
|
||||
body: |
|
||||
**Nightly release - ${{ steps.date.outputs.date }}**
|
||||
This build is the latest and greatest, although may not be the most stable as this is a nightly release.
|
||||
Version: ${{ steps.version_date.outputs.date }}
|
||||
You can find the changes in this commit ${{ github.sha }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
|
Loading…
Reference in New Issue
Block a user