Compare commits
	
		
			4 Commits
		
	
	
		
			v1.2.42
			...
			7ae26fb0a9
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7ae26fb0a9 | |||
| 98bcf98f1e | |||
| bc8ac32fee | |||
| ba74eca21d | 
							
								
								
									
										38
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										38
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@@ -10,42 +10,21 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    outputs:
 | 
			
		||||
      provider: ${{ steps.provider.outputs.provider }}
 | 
			
		||||
      gitea_ref_name: ${{ steps.route_vars.outputs.ref_name }}
 | 
			
		||||
      gitea_server_url: ${{ steps.route_vars.outputs.server_url }}
 | 
			
		||||
      gitea_repository: ${{ steps.route_vars.outputs.repository }}
 | 
			
		||||
      gitea_ref_name: ${{ steps.provider.outputs.gitea_ref_name }}
 | 
			
		||||
      gitea_server_url: ${{ steps.provider.outputs.gitea_server_url }}
 | 
			
		||||
      gitea_repository: ${{ steps.provider.outputs.gitea_repository }}
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout Repository
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
 | 
			
		||||
      - name: Debug Environment
 | 
			
		||||
        id: route_vars
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "CI Environment Details:"
 | 
			
		||||
          echo "GITHUB_ACTIONS=${GITHUB_ACTIONS:-not set}"
 | 
			
		||||
          echo "GITEA_ACTIONS=${GITEA_ACTIONS:-not set}"
 | 
			
		||||
          echo "GITEA_REPOSITORY=${GITEA_REPOSITORY:-not set}"
 | 
			
		||||
          echo "GITEA_SERVER_URL=${GITEA_SERVER_URL:-not set}"
 | 
			
		||||
          echo "GITEA_REF_NAME=${GITEA_REF_NAME:-not set}"
 | 
			
		||||
          echo "RUNNER_NAME=${RUNNER_NAME:-not set}"
 | 
			
		||||
          
 | 
			
		||||
          # Set outputs for Gitea variables
 | 
			
		||||
          if [ -n "${GITEA_REF_NAME}" ]; then
 | 
			
		||||
            echo "ref_name=${GITEA_REF_NAME}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          else 
 | 
			
		||||
            echo "ref_name=${GITHUB_REF_NAME}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          fi
 | 
			
		||||
          
 | 
			
		||||
          if [ -n "${GITEA_SERVER_URL}" ]; then
 | 
			
		||||
            echo "server_url=${GITEA_SERVER_URL}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          else
 | 
			
		||||
            echo "server_url=https://gitea.example.com" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          fi
 | 
			
		||||
          
 | 
			
		||||
          if [ -n "${GITEA_REPOSITORY}" ]; then
 | 
			
		||||
            echo "repository=${GITEA_REPOSITORY}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          else
 | 
			
		||||
            echo "repository=${GITHUB_REPOSITORY}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          fi
 | 
			
		||||
 | 
			
		||||
      - name: Determine CI Provider
 | 
			
		||||
        id: provider
 | 
			
		||||
@@ -53,15 +32,14 @@ jobs:
 | 
			
		||||
        run: |
 | 
			
		||||
          if [ -n "${GITEA_ACTIONS}" ] || [ -n "${GITEA_REPOSITORY}" ] || [[ "${RUNNER_NAME}" == *"gitea"* ]]; then
 | 
			
		||||
            echo "provider=gitea" >> "$GITHUB_OUTPUT"
 | 
			
		||||
            echo "gitea_ref_name=${GITHUB_REF_NAME}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
            echo "gitea_server_url=${GITHUB_SERVER_URL}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
            echo "gitea_repository=${GITHUB_REPOSITORY}" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          elif [ "${GITHUB_ACTIONS}" = "true" ]; then
 | 
			
		||||
            echo "provider=github" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          else
 | 
			
		||||
            echo "provider=unknown" >> "$GITHUB_OUTPUT"
 | 
			
		||||
          fi
 | 
			
		||||
          
 | 
			
		||||
          # Debug outputs
 | 
			
		||||
          echo "Provider outputs:"
 | 
			
		||||
          cat "$GITHUB_OUTPUT"
 | 
			
		||||
 | 
			
		||||
  verify-provider:
 | 
			
		||||
    needs: route
 | 
			
		||||
@@ -70,10 +48,6 @@ jobs:
 | 
			
		||||
      - name: Echo detected provider
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "Detected CI Provider: ${{ needs.route.outputs.provider }}"
 | 
			
		||||
          echo "Gitea Ref Name: ${{ needs.route.outputs.gitea_ref_name }}"
 | 
			
		||||
          echo "Gitea Server URL: ${{ needs.route.outputs.gitea_server_url }}"
 | 
			
		||||
          echo "Gitea Repository: ${{ needs.route.outputs.gitea_repository }}"
 | 
			
		||||
          
 | 
			
		||||
          if [ "${{ needs.route.outputs.provider }}" = "unknown" ]; then
 | 
			
		||||
            echo "::error::Failed to detect CI provider!"
 | 
			
		||||
            exit 1
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@@ -1,5 +1,15 @@
 | 
			
		||||
# Changelog
 | 
			
		||||
 | 
			
		||||
## [1.2.44] - 2025-02-19
 | 
			
		||||
### Added
 | 
			
		||||
- update Gitea release workflow to include additional outputs and increment version to 1.2.44
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## [1.2.43] - 2025-02-19
 | 
			
		||||
### Added
 | 
			
		||||
- update Gitea release workflow by removing unnecessary outputs and increment version to 1.2.43
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## [1.2.42] - 2025-02-19
 | 
			
		||||
### Added
 | 
			
		||||
- update Gitea release workflow to include additional outputs and increment version to 1.2.42
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
; https://docs.platformio.org/page/projectconf.html
 | 
			
		||||
 | 
			
		||||
[common]
 | 
			
		||||
version = "1.2.42"
 | 
			
		||||
version = "1.2.44"
 | 
			
		||||
 | 
			
		||||
[env:esp32dev]
 | 
			
		||||
platform = espressif32
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user