Merge pull request #1357 from zach593/crlf-to-lf

replace CRLF line terminatiors to LF
This commit is contained in:
karmada-bot 2022-02-14 17:11:53 +08:00 committed by GitHub
commit ed84b2e3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 49 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
apiVersion: v1
kind: Namespace
metadata:
name: karmada-cluster