Skip to content

Commit c589fff

Browse files
authored
Merge 581a304 into 6b30794
2 parents 6b30794 + 581a304 commit c589fff

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/update-stores.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
repository: 'keyfactor/kfutil'
7070
sparse-checkout: |
7171
.github
72+
cmd
7273
path: './merge-folder/'
7374
token: ${{ secrets.V2BUILDTOKEN }}
7475
ref: '${{env.KFUTIL_ARG}}'
@@ -81,6 +82,7 @@ jobs:
8182
repository: 'keyfactor/kfutil'
8283
sparse-checkout: |
8384
.github
85+
cmd
8486
path: './merge-folder/'
8587
token: ${{ secrets.V2BUILDTOKEN }}
8688

@@ -102,7 +104,6 @@ jobs:
102104
working-directory: ./tools/store-type-merge
103105
run: |
104106
python main.py --repo-name ${{ env.KFUTIL_ARG }} --ref ${{ env.TARGET_REPO_BRANCH }}
105-
cat store_types.json
106107
env:
107108
GITHUB_TOKEN: ${{ secrets.V2BUILDTOKEN }}
108109

@@ -134,6 +135,10 @@ jobs:
134135
run: |
135136
echo "Saving original store_types.json as store_types.sav.json"
136137
cp -f ./tools/store-type-merge/store_types.json ./merge-folder/store_types.json
138+
mkdir -p ./merge-folder/cmd || true
139+
cp -f ./tools/store-type-merge/store_types.json ./merge-folder/cmd/store_types.json # this necessary?
140+
ls -la ./merge-folder/
141+
ls -la ./merge-folder/cmd/
137142
138143
# Diff the new json against the saved copy and set an UPDATE_FILE variable
139144
- name: Diff the results
@@ -154,7 +159,9 @@ jobs:
154159
env:
155160
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
156161
with:
157-
add: store_types.json --force
162+
add: |
163+
store_types.json
164+
./cmd/store_types.json --force
158165
message: Update store_types.json for ${{env.KFUTIL_ARG}}:${{env.TARGET_REPO_BRANCH}}
159166
author_name: Keyfactor
160167
author_email: [email protected]
@@ -167,7 +174,9 @@ jobs:
167174
env:
168175
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
169176
with:
170-
add: store_types.json --force
177+
add: |
178+
store_types.json
179+
./cmd/store_types.json --force
171180
message: Update store_types.json for ${{env.KFUTIL_ARG}}:${{env.TARGET_REPO_BRANCH}}
172181
author_name: Keyfactor
173182
author_email: [email protected]
@@ -182,7 +191,7 @@ jobs:
182191
console.log("Commit to ${{env.KFUTIL_ARG}} for PR")
183192
const owner = context.repo.owner;
184193
const repo = context.repo.repo;
185-
const baseBranch = 'main';
194+
const baseBranch = context.ref.replace('refs/heads/', 'main'); // Default base branch is main
186195
const newBranch = '${{env.KFUTIL_ARG}}';
187196
const response = await github.rest.pulls.create({
188197
owner,

pkg/version/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package version
1616

1717
var (
18-
VERSION = "1.8.3"
19-
BUILD_DATE = "2025-08-14"
18+
VERSION = "1.8.4"
19+
BUILD_DATE = "2025-09-10"
2020
COMMIT = "HEAD"
2121
)

0 commit comments

Comments
 (0)