Skip to content

Commit 699ffa6

Browse files
committed
chore: fix copilot pr issues
Signed-off-by: Mark Phelps <[email protected]>
1 parent 5d1302c commit 699ffa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ bundle:
109109
# Build the bundle and push it to an ephemeral registry (available for 1 hour)
110110
- name: Build and Push bundle
111111
run: |
112-
flipt bundle build ${{ steps.uuid.outputs.uuid }}:latest
112+
flipt bundle build -t ttl.sh/${{ steps.uuid.outputs.uuid }}:1h
113113
flipt bundle push ttl.sh/${{ steps.uuid.outputs.uuid }}:1h
114114
```
115115

src/lib/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function getLatestVersionByMajor(majorVersion: number, octokit: Octokit):
6363
// Filter releases by major version and find the latest
6464
const filteredReleases = releases.data
6565
.filter(release => !release.prerelease && !release.draft) // Exclude prereleases and drafts
66-
.filter(release => release.tag_name.startsWith(`v${majorVersion}.`))
66+
.filter(release => new RegExp(`^v${majorVersion}\\.\\d+\\.\\d+$`).test(release.tag_name))
6767
.sort((a, b) => new Date(b.published_at || b.created_at).getTime() - new Date(a.published_at || a.created_at).getTime());
6868

6969
if (filteredReleases.length === 0) {

0 commit comments

Comments
 (0)