diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f20efdc..6542da5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: # Manually start a workflow push: branches: - - C2_test + - factory paths-ignore: - '.github/**' # Ignore changes towards the .github directory - '*.md' diff --git a/.github/workflows/build_pypi.yml b/.github/workflows/build_pypi.yml index 10fc9f4..d4b1cc8 100644 --- a/.github/workflows/build_pypi.yml +++ b/.github/workflows/build_pypi.yml @@ -3,6 +3,8 @@ name: PyPi Publish on: workflow_dispatch: # Manually start Publishing push: + branches: + - factory tags: - "v*.*.*" diff --git a/esp_flasher/const.py b/esp_flasher/const.py index 7b9d621..1027340 100644 --- a/esp_flasher/const.py +++ b/esp_flasher/const.py @@ -1,17 +1,17 @@ import re -__version__ = "2.1.0" +__version__ = "2.2.0" ESP32_DEFAULT_OTA_DATA = ( - "https://raw.githubusercontent.com/Jason2866/ESP_Flasher/C2_test/" + "https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/" "partitions/boot_app0.bin" ) ESP32_DEFAULT_BOOTLOADER_FORMAT = ( - "https://raw.githubusercontent.com/Jason2866/ESP_Flasher/C2_test/" + "https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/" "bootloader/$MODEL$/bin/bootloader_$FLASH_MODE$_$FLASH_FREQ$.elf" ) ESP32_DEFAULT_PARTITIONS = ( - "https://raw.githubusercontent.com/Jason2866/ESP_Flasher/C2_test/" + "https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/" "partitions/partitions.$MODEL$.bin" ) ESP32_SAFEBOOT_SERVER = (