Skip to content

Commit

Permalink
Merge pull request #13311 from kranurag7/kr/add-mods-package
Browse files Browse the repository at this point in the history
add mods package to wolfi
  • Loading branch information
ajayk authored Feb 19, 2024
2 parents a2c0053 + e9508ac commit 649173a
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions mods.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
package:
name: mods
version: 1.2.1
epoch: 0
description: AI on the command line!
copyright:
- license: MIT

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: "0"

pipeline:
- uses: git-checkout
with:
repository: https://github.com/charmbracelet/mods
tag: v${{package.version}}
expected-commit: db3a762d2b9ea4374e98099d029f6568b6778d97

- uses: go/build
with:
packages: .
repository: https://github.com/charmbracelet/mods
ldflags: |
-s -w
-X main.Version=${{package.version}}
-X main.CommitSHA=$(git rev-parse HEAD)
-X main.CommitDate=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
output: mods

- uses: strip

update:
enabled: true
github:
identifier: charmbracelet/mods
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
mods --version

0 comments on commit 649173a

Please sign in to comment.