mirror of
https://github.com/ublue-os/brew.git
synced 2026-11-03 21:49:43 -09:00
feat: renovate for Brew versions (#8)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: inffy <10782843+inffy@users.noreply.github.com>
This commit is contained in:
parent
eddbb1a432
commit
df2b153f29
3 changed files with 11 additions and 3 deletions
6
.github/renovate.json5
vendored
6
.github/renovate.json5
vendored
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
"regexManagers": [
|
||||
{
|
||||
"fileMatch": ["^Containerfile$"],
|
||||
"fileMatch": ["^BREW_VERSION$"],
|
||||
"matchStrings": [
|
||||
"https://github\\.com/ublue-os/artwork/releases/download/bluefin-v(?<version>[0-9\\-]+)/bluefin-wallpapers\\.tar\\.zstd"
|
||||
"^(?<currentValue>.*)"
|
||||
],
|
||||
"datasourceTemplate": "github-releases",
|
||||
"depNameTemplate": "ublue-os/artwork"
|
||||
"depNameTemplate": "Homebrew/brew"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -145,6 +145,12 @@ jobs:
|
|||
id: date
|
||||
run: echo "date=$(date -u +%Y\-%m\-%d\T%H\:%M\:%S\Z)" | tee "${GITHUB_OUTPUT}"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||
- name: Read Brew Version
|
||||
id: brew_version
|
||||
run: echo "version=$(cat BREW_VERSION)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Image Metadata
|
||||
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5
|
||||
id: metadata
|
||||
|
|
@ -153,6 +159,7 @@ jobs:
|
|||
type=raw,value=${{ env.DEFAULT_TAG }}
|
||||
type=raw,value=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}}
|
||||
type=raw,value={{date 'YYYYMMDD'}}
|
||||
type=raw,value=${{ steps.brew_version.outputs.version }}
|
||||
type=ref,event=pr
|
||||
type=sha,enable=${{ github.event_name == 'pull_request' }}
|
||||
labels: |
|
||||
|
|
|
|||
1
BREW_VERSION
Normal file
1
BREW_VERSION
Normal file
|
|
@ -0,0 +1 @@
|
|||
5.0.8
|
||||
Loading…
Reference in a new issue