Compare commits

..

No commits in common. "c7c122a5055affce183010a286b60555571471a0" and "b13f2c4eee633ae9af0a4a3156a6f0c1a9f10894" have entirely different histories.

4 changed files with 17 additions and 24 deletions

View File

@ -1,7 +1,9 @@
name: Gitea Release
on:
workflow_call: # This workflow will only be triggered when called by another workflow
push:
tags:
- 'v*'
permissions:
contents: write # Required for creating releases
@ -64,11 +66,11 @@ jobs:
echo "EOF" >> $GITHUB_OUTPUT
- name: Create Release
env:
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_API_URL: ${{ secrets.GITEA_API_URL }}
GITEA_REPOSITORY: ${{ secrets.GITEA_REPOSITORY }}
run: |
run: |
# Create release using Gitea API
RESPONSE=$(curl -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \

View File

@ -6,12 +6,11 @@ on:
- 'v*'
jobs:
detect:
detect-and-run:
runs-on: ubuntu-latest
outputs:
platform: ${{ steps.platform.outputs.platform }}
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4
- name: Determine hosting platform
id: platform
@ -22,12 +21,10 @@ jobs:
echo "platform=gitea" >> $GITHUB_OUTPUT
fi
gitea-release:
needs: detect
if: needs.detect.outputs.platform == 'gitea'
uses: ./.github/workflows/providers/gitea-release.yml
github-release:
needs: detect
if: needs.detect.outputs.platform == 'github'
uses: ./.github/workflows/providers/github-release.yml
- name: Run Release Workflow
run: |
if [[ "${{ steps.platform.outputs.platform }}" == "github" ]]; then
./.github/workflows/providers/github-release.sh
else
./.github/workflows/providers/gitea-release.sh
fi

View File

@ -1,11 +1,5 @@
# 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
### Added
- update version to 1.2.6 in platformio.ini

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "1.2.8"
version = "1.2.6"
[env:esp32dev]
platform = espressif32