Skip to content

Commit 6fe215c

Browse files
authored
Merge pull request #37 from RTGS-Lab/bug/version-increment
Fixed the particle uploading workflow to version increment both bsom and b5som
2 parents d10d75f + 10a5a4f commit 6fe215c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release-workflow.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uses: particle-iot/compile-action@9dbe1eb567c6268f1baa7458217d5d6e5553850d
6868
with:
6969
particle-platform-name: 'b5som'
70-
auto-version: false
70+
auto-version: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.version_increment != 'no' }}
7171
device-os-version: 6.2.1
7272

7373
- name: Upload BSOM artifacts
@@ -189,6 +189,8 @@ jobs:
189189
product_id_secret: "PARTICLE_ROADSIDE_TURF_PRODUCT_ID"
190190
- name: "PepsiCo"
191191
product_id_secret: "PARTICLE_PEPSICO_PRODUCT_ID"
192+
- name: "Precision Ag Pilot"
193+
product_id_secret: "PARTICLE_PRECISION_AG_PILOT_PRODUCT_ID"
192194
steps:
193195
- name: Checkout code
194196
uses: actions/checkout@v4

src/FlightControl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ namespace LogModes {
146146
constexpr uint8_t NO_LOCAL = 3; //Same as standard log, but no attempt to log to SD card
147147
};
148148

149-
PRODUCT_VERSION(38)
149+
PRODUCT_VERSION(37)
150150

151151
//global variables affected by configuration manager
152152
int backhaulCount;

0 commit comments

Comments
 (0)