Compare commits
	
		
			8 Commits
		
	
	
		
			v1.2.41
			...
			67027840f4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 67027840f4 | |||
| 2755e9c863 | |||
| 7ae26fb0a9 | |||
| 98bcf98f1e | |||
| bc8ac32fee | |||
| ba74eca21d | |||
| d4e1cf1322 | |||
| 5170784e44 | 
@@ -95,8 +95,9 @@ jobs:
 | 
				
			|||||||
          "${API_URL}/repos/${REPO}/releases")
 | 
					          "${API_URL}/repos/${REPO}/releases")
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        RELEASE_ID=$(echo "$RESPONSE" | grep -o '"id":[0-9]*' | cut -d':' -f2 | head -n1)
 | 
					        RELEASE_ID=$(echo "$RESPONSE" | grep -o '"id":[0-9]*' | cut -d':' -f2 | head -n1)
 | 
				
			||||||
 | 
					        UPLOAD_URL=$(echo "$RESPONSE" | grep -o '"upload_url":"[^"]*' | cut -d':' -f2- | tr -d '"')
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        if [ -n "$RELEASE_ID"; then
 | 
					        if [ -n "$RELEASE_ID" ]; then
 | 
				
			||||||
          echo "Release created with ID: $RELEASE_ID"
 | 
					          echo "Release created with ID: $RELEASE_ID"
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
          # Upload files
 | 
					          # Upload files
 | 
				
			||||||
@@ -107,7 +108,7 @@ jobs:
 | 
				
			|||||||
              -H "Authorization: token ${TOKEN}" \
 | 
					              -H "Authorization: token ${TOKEN}" \
 | 
				
			||||||
              -H "Content-Type: application/octet-stream" \
 | 
					              -H "Content-Type: application/octet-stream" \
 | 
				
			||||||
              --data-binary "@.pio/build/esp32dev/$file" \
 | 
					              --data-binary "@.pio/build/esp32dev/$file" \
 | 
				
			||||||
              "${API_URL}/repos/${REPO}/releases/${RELEASE_ID}/assets?name=$file"
 | 
					              "${UPLOAD_URL}?name=$file"
 | 
				
			||||||
          done
 | 
					          done
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
          echo "Failed to create release. Response:"
 | 
					          echo "Failed to create release. Response:"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@@ -10,6 +10,9 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    outputs:
 | 
					    outputs:
 | 
				
			||||||
      provider: ${{ steps.provider.outputs.provider }}
 | 
					      provider: ${{ steps.provider.outputs.provider }}
 | 
				
			||||||
 | 
					      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:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout Repository
 | 
					      - name: Checkout Repository
 | 
				
			||||||
        uses: actions/checkout@v3
 | 
					        uses: actions/checkout@v3
 | 
				
			||||||
@@ -20,6 +23,7 @@ jobs:
 | 
				
			|||||||
          echo "GITHUB_ACTIONS=${GITHUB_ACTIONS:-not set}"
 | 
					          echo "GITHUB_ACTIONS=${GITHUB_ACTIONS:-not set}"
 | 
				
			||||||
          echo "GITEA_ACTIONS=${GITEA_ACTIONS:-not set}"
 | 
					          echo "GITEA_ACTIONS=${GITEA_ACTIONS:-not set}"
 | 
				
			||||||
          echo "GITEA_REPOSITORY=${GITEA_REPOSITORY:-not set}"
 | 
					          echo "GITEA_REPOSITORY=${GITEA_REPOSITORY:-not set}"
 | 
				
			||||||
 | 
					          echo "GITEA_SERVER_URL=${GITEA_SERVER_URL:-not set}"
 | 
				
			||||||
          echo "RUNNER_NAME=${RUNNER_NAME:-not set}"
 | 
					          echo "RUNNER_NAME=${RUNNER_NAME:-not set}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Determine CI Provider
 | 
					      - name: Determine CI Provider
 | 
				
			||||||
@@ -28,6 +32,9 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          if [ -n "${GITEA_ACTIONS}" ] || [ -n "${GITEA_REPOSITORY}" ] || [[ "${RUNNER_NAME}" == *"gitea"* ]]; then
 | 
					          if [ -n "${GITEA_ACTIONS}" ] || [ -n "${GITEA_REPOSITORY}" ] || [[ "${RUNNER_NAME}" == *"gitea"* ]]; then
 | 
				
			||||||
            echo "provider=gitea" >> "$GITHUB_OUTPUT"
 | 
					            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
 | 
					          elif [ "${GITHUB_ACTIONS}" = "true" ]; then
 | 
				
			||||||
            echo "provider=github" >> "$GITHUB_OUTPUT"
 | 
					            echo "provider=github" >> "$GITHUB_OUTPUT"
 | 
				
			||||||
          else
 | 
					          else
 | 
				
			||||||
@@ -55,5 +62,9 @@ jobs:
 | 
				
			|||||||
    needs: [route, verify-provider]
 | 
					    needs: [route, verify-provider]
 | 
				
			||||||
    if: needs.route.outputs.provider == 'gitea'
 | 
					    if: needs.route.outputs.provider == 'gitea'
 | 
				
			||||||
    uses: ./.github/workflows/providers/gitea-release.yml
 | 
					    uses: ./.github/workflows/providers/gitea-release.yml
 | 
				
			||||||
 | 
					    with:
 | 
				
			||||||
 | 
					      gitea_ref_name: ${{ needs.route.outputs.gitea_ref_name }}
 | 
				
			||||||
 | 
					      gitea_server_url: ${{ needs.route.outputs.gitea_server_url }}
 | 
				
			||||||
 | 
					      gitea_repository: ${{ needs.route.outputs.gitea_repository }}
 | 
				
			||||||
    secrets:
 | 
					    secrets:
 | 
				
			||||||
      GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
 | 
					      GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
 | 
				
			||||||
							
								
								
									
										20
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@@ -1,5 +1,25 @@
 | 
				
			|||||||
# Changelog
 | 
					# Changelog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## [1.2.45] - 2025-02-19
 | 
				
			||||||
 | 
					### Added
 | 
				
			||||||
 | 
					- update Gitea release workflow to use dynamic upload URL and increment version to 1.2.45
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## [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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [1.2.41] - 2025-02-19
 | 
					## [1.2.41] - 2025-02-19
 | 
				
			||||||
### Added
 | 
					### Added
 | 
				
			||||||
- update Gitea release workflow debug output and increment version to 1.2.41
 | 
					- update Gitea release workflow debug output and increment version to 1.2.41
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
; https://docs.platformio.org/page/projectconf.html
 | 
					; https://docs.platformio.org/page/projectconf.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[common]
 | 
					[common]
 | 
				
			||||||
version = "1.2.41"
 | 
					version = "1.2.45"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[env:esp32dev]
 | 
					[env:esp32dev]
 | 
				
			||||||
platform = espressif32
 | 
					platform = espressif32
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user