-
Notifications
You must be signed in to change notification settings - Fork 433
Expand file tree
/
Copy pathgo-sqlcmd.yaml
More file actions
44 lines (39 loc) · 1.05 KB
/
go-sqlcmd.yaml
File metadata and controls
44 lines (39 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package:
name: go-sqlcmd
version: 1.10.0
epoch: 0
description: "A command-line tool for interacting with Microsoft SQL Server and Azure SQL"
environment:
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- build-base
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/microsoft/go-sqlcmd
expected-commit: affbc17e1e0e97b0bb625ef8185afea3d746067f
tag: v${{package.version}}
- uses: go/build
with:
tags: enterprise
packages: ./cmd/modern
output: sqlcmd
ldflags: -X main.version=v${{package.version}}
subpackages:
- name: go-sqlcmd-doc
description: go-sqlcmd documentation
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/share/doc/go-sqlcmd
cp README.md LICENSE ${{targets.subpkgdir}}/usr/share/doc/go-sqlcmd/
update:
enabled: true
github:
identifier: microsoft/go-sqlcmd
strip-prefix: v