Skip to content

Commit 607a3b7

Browse files
committed
fix version getting when on PR
1 parent 76e5cbf commit 607a3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/upload_components.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ jobs:
109109
components/wifi
110110
components/wrover-kit
111111
namespace: "espp"
112-
version: ${{ github.ref_name }}
112+
version: ${{ github.event.release && github.ref_name || 'merge-test' }}
113113
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
114114
dry_run: ${{ github.ref_name != 'main' || github.repository_owner != 'esp-cpp' }}

0 commit comments

Comments
 (0)