-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'AIRDOS04A' of github.com:UniversalScientificTechnologie…
…s/AIRDOS04 into AIRDOS04A
- Loading branch information
Showing
10 changed files
with
3,259 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Create AIRDOS04 Pre-Release (BETA) | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build: | ||
uses: ./.github/workflows/build_fw.yml | ||
with: | ||
build_type: B | ||
secrets: inherit | ||
|
||
release: | ||
runs-on: ubuntu-latest | ||
needs: [build] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: AIRDOS04A | ||
|
||
- name: Gen Release Name and preare assets | ||
id: gen_release_name | ||
run: | | ||
MAJOR=`cat fw/AIRDOS04/nextversion|grep MAJOR|cut -d ' ' -f 2` | ||
MINOR=`cat fw/AIRDOS04/nextversion|grep MINOR|cut -d ' ' -f 2` | ||
NEXTRELEASE=`cat fw/AIRDOS04/nextversion|grep RELEASE|cut -d ' ' -f 2` | ||
NEXTBUILD=`cat fw/AIRDOS04/nextversion|grep BUILD|cut -d ' ' -f 2` | ||
RELEASE=`echo $NEXTRELEASE"-1"|bc` | ||
BUILD=`echo $NEXTBUILD"-1"|bc` | ||
echo "tagname=AIRDOS04-${MAJOR}.${MINOR}.${RELEASE}-BETA-${BUILD}" >> $GITHUB_OUTPUT | ||
- name: Create TAG | ||
run: | | ||
echo "${{ steps.gen_release_name.outputs.tagname }}" | ||
git config user.name "${GITHUB_ACTOR}" | ||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
git tag -a ${{ steps.gen_release_name.outputs.tagname }} -m "Release ${{ steps.gen_release_name.outputs.tagname }}" | ||
git push origin ${{ steps.gen_release_name.outputs.tagname }} | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.gen_release_name.outputs.tagname }} | ||
release_name: BETA ${{ steps.gen_release_name.outputs.tagname }} | ||
draft: false | ||
prerelease: true | ||
|
||
- name: Upload Release Assets | ||
id: upload-release-assets | ||
uses: dwenegar/upload-release-assets@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
release_id: ${{ steps.create_release.outputs.id }} | ||
assets_path: fw/build/*.hex | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Create AIRDOS04 Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build: | ||
uses: ./.github/workflows/build_fw.yml | ||
with: | ||
build_type: R | ||
secrets: inherit | ||
|
||
release: | ||
runs-on: ubuntu-latest | ||
needs: [build] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: AIRDOS04A | ||
|
||
- name: Gen Release Name and preare assets | ||
id: gen_release_name | ||
run: | | ||
MAJOR=`cat fw/AIRDOS04/nextversion|grep MAJOR|cut -d ' ' -f 2` | ||
MINOR=`cat fw/AIRDOS04/nextversion|grep MINOR|cut -d ' ' -f 2` | ||
NEXTRELEASE=`cat fw/AIRDOS04/nextversion|grep RELEASE|cut -d ' ' -f 2` | ||
NEXTBUILD=`cat fw/${{ matrix.type }}/nextversion|grep BUILD|cut -d ' ' -f 2` | ||
RELEASE=`echo $NEXTRELEASE"-1"|bc` | ||
BUILD=`echo $NEXTBUILD"-1"|bc` | ||
echo "tagname=AIRDOS04-${MAJOR}.${MINOR}.${RELEASE}-${BUILD}" >> $GITHUB_OUTPUT | ||
- name: Create TAG | ||
run: | | ||
echo "${{ steps.gen_release_name.outputs.tagname }}" | ||
git config user.name "${GITHUB_ACTOR}" | ||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
git tag -a ${{ steps.gen_release_name.outputs.tagname }} -m "Release ${{ steps.gen_release_name.outputs.tagname }}" | ||
git push origin ${{ steps.gen_release_name.outputs.tagname }} | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.gen_release_name.outputs.tagname }} | ||
release_name: Release ${{ steps.gen_release_name.outputs.tagname }} | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Assets | ||
id: upload-release-assets | ||
uses: dwenegar/upload-release-assets@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
release_id: ${{ steps.create_release.outputs.id }} | ||
assets_path: fw/build/*.hex | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// This file is overwritten by github actions, do not update it manually | ||
String githash = "71cdf196883fa3ab648ae47327ef2137eb69420f,User"; | ||
#define GHRELEASE 0 | ||
String githash = "a5558820423b33fbac20c32c4677790c4759b100,User"; | ||
#define GHRELEASE 1 | ||
#define GHBUILD 0 | ||
#define GHBUILDTYPE User |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#this file is maintained by github actions | ||
MAJOR 1 | ||
MINOR 1 | ||
RELEASE 0 | ||
BUILD 1 | ||
MINOR 0 | ||
RELEASE 1 | ||
BUILD 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// This file is overwritten by github actions, do not update it manually | ||
String githash = "71cdf196883fa3ab648ae47327ef2137eb69420f,User"; | ||
String githash = "c70ff94987d7dd95c620b8e2d6ba4711ff3b70f4,User"; | ||
#define GHRELEASE 0 | ||
#define GHBUILD 0 | ||
#define GHBUILDTYPE User |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#this file is maintained by github actions | ||
MAJOR 1 | ||
MINOR 1 | ||
MAJOR 0 | ||
MINOR 0 | ||
RELEASE 0 | ||
BUILD 1 | ||
BUILD 2 |
Oops, something went wrong.