Skip to content

Commit

Permalink
fix: ensure version number is properly quoted when updated by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Feb 15, 2024
1 parent f8dac7d commit 98e149d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-version-with-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update
on:
# Runs at 10:00 UTC every day
schedule:
- cron: '0 10 * * *'
- cron: "0 10 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -26,4 +26,4 @@ jobs:
curl -sL https://api.github.com/repos/get-iplayer/get_iplayer/releases |
jq . | grep tag_name | grep -v beta | head -n 1 | cut -d'"' -f4 | tr -d 'v'
)
sed -i 's/^\(version: \).*$/\1'"$VERSION"'/' snap/snapcraft.yaml
sed -i "s/^\(version: \).*$/\1\"$VERSION\"/" snap/snapcraft.yaml
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ adopt-info: get-iplayer
summary: CLI for downloading content from BBC iplayer
description: |
Command Line tool for downloading tv and radio programmes from the last 30 days from the BBC iPlayer.
version: 3.35
version: "3.35"
base: core22
grade: stable
confinement: strict
Expand Down

0 comments on commit 98e149d

Please sign in to comment.