Compare commits
No commits in common. "c7c122a5055affce183010a286b60555571471a0" and "b13f2c4eee633ae9af0a4a3156a6f0c1a9f10894" have entirely different histories.
c7c122a505
...
b13f2c4eee
@ -1,7 +1,9 @@
|
|||||||
name: Gitea Release
|
name: Gitea Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call: # This workflow will only be triggered when called by another workflow
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # Required for creating releases
|
contents: write # Required for creating releases
|
||||||
|
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
@ -6,12 +6,11 @@ on:
|
|||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
detect:
|
detect-and-run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
|
||||||
platform: ${{ steps.platform.outputs.platform }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Determine hosting platform
|
- name: Determine hosting platform
|
||||||
id: platform
|
id: platform
|
||||||
@ -22,12 +21,10 @@ jobs:
|
|||||||
echo "platform=gitea" >> $GITHUB_OUTPUT
|
echo "platform=gitea" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gitea-release:
|
- name: Run Release Workflow
|
||||||
needs: detect
|
run: |
|
||||||
if: needs.detect.outputs.platform == 'gitea'
|
if [[ "${{ steps.platform.outputs.platform }}" == "github" ]]; then
|
||||||
uses: ./.github/workflows/providers/gitea-release.yml
|
./.github/workflows/providers/github-release.sh
|
||||||
|
else
|
||||||
github-release:
|
./.github/workflows/providers/gitea-release.sh
|
||||||
needs: detect
|
fi
|
||||||
if: needs.detect.outputs.platform == 'github'
|
|
||||||
uses: ./.github/workflows/providers/github-release.yml
|
|
@ -1,11 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## [1.2.8] - 2025-02-18
|
|
||||||
### Added
|
|
||||||
- update version to 1.2.8 in platformio.ini; refactor Gitea and GitHub release workflows
|
|
||||||
- update version to 1.2.7 in platformio.ini; adjust Gitea release workflow
|
|
||||||
|
|
||||||
|
|
||||||
## [1.2.6] - 2025-02-18
|
## [1.2.6] - 2025-02-18
|
||||||
### Added
|
### Added
|
||||||
- update version to 1.2.6 in platformio.ini
|
- update version to 1.2.6 in platformio.ini
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.2.8"
|
version = "1.2.6"
|
||||||
|
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user