Skip to content

cli: improve flag parsing - change sst init --y to sst init --yes #551

cli: improve flag parsing - change sst init --y to sst init --yes

cli: improve flag parsing - change sst init --y to sst init --yes #551

Workflow file for this run

name: binary
on:
push:
workflow_dispatch:
tags:
- "*"
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: |
npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
npm whoami
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
- name: Go Mod
run: go mod download
# TODO remove temporary workaround
- run: bun i --frozen-lockfile
- run: git reset --hard
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
- run: |
cd sdk/js
bun run release