Merge pull request #1357 from zach593/crlf-to-lf
replace CRLF line terminatiors to LF
This commit is contained in:
commit
ed84b2e3d0
|
@ -1,46 +1,46 @@
|
|||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
name: Build Release
|
||||
jobs:
|
||||
release-assests:
|
||||
name: release kubectl-karmada
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- goarch: amd64
|
||||
goos: linux
|
||||
- goarch: amd64
|
||||
goos: darwin
|
||||
- goarch: arm64
|
||||
goos: linux
|
||||
- goarch: arm64
|
||||
goos: darwin
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
- name: Making kubectl-karmada
|
||||
run: make kubectl-karmada
|
||||
env:
|
||||
GOOS: ${{ matrix.goos }}
|
||||
GOARCH: ${{ matrix.goarch }}
|
||||
- name: Packaging...
|
||||
run: tar czf kubectl-karmada-${{ matrix.goos }}-${{ matrix.goarch }}.tgz kubectl-karmada LICENSE
|
||||
- name: Uploading assets...
|
||||
if: ${{ !env.ACT }}
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ./kubectl-karmada-${{ matrix.goos }}-${{ matrix.goarch }}.tgz
|
||||
update-krew-index:
|
||||
needs: release-assests
|
||||
name: Update krew-index
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Update new version in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.40
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
name: Build Release
|
||||
jobs:
|
||||
release-assests:
|
||||
name: release kubectl-karmada
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- goarch: amd64
|
||||
goos: linux
|
||||
- goarch: amd64
|
||||
goos: darwin
|
||||
- goarch: arm64
|
||||
goos: linux
|
||||
- goarch: arm64
|
||||
goos: darwin
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
- name: Making kubectl-karmada
|
||||
run: make kubectl-karmada
|
||||
env:
|
||||
GOOS: ${{ matrix.goos }}
|
||||
GOARCH: ${{ matrix.goarch }}
|
||||
- name: Packaging...
|
||||
run: tar czf kubectl-karmada-${{ matrix.goos }}-${{ matrix.goarch }}.tgz kubectl-karmada LICENSE
|
||||
- name: Uploading assets...
|
||||
if: ${{ !env.ACT }}
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ./kubectl-karmada-${{ matrix.goos }}-${{ matrix.goarch }}.tgz
|
||||
update-krew-index:
|
||||
needs: release-assests
|
||||
name: Update krew-index
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Update new version in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.40
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: karmada-cluster
|
||||
|
|
Loading…
Reference in New Issue