From 45e2b6cc0a47a4bda0e9d501f3c927c765abfea0 Mon Sep 17 00:00:00 2001 From: Joshua Cooper Date: Thu, 2 Apr 2026 20:05:50 -0700 Subject: [PATCH] go-sqlcmd: add package v1.10.0 Adds the Microsoft go-sqlcmd CLI tool for interacting with SQL Server and Azure SQL. Pure Go build from cmd/modern, produces a single /usr/bin/sqlcmd binary. --- go-sqlcmd.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 go-sqlcmd.yaml diff --git a/go-sqlcmd.yaml b/go-sqlcmd.yaml new file mode 100644 index 000000000000..38bdb7f09ebe --- /dev/null +++ b/go-sqlcmd.yaml @@ -0,0 +1,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