Skip to content

Commit ca9cd06

Browse files
committed
1 parent bf35a37 commit ca9cd06

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.github/workflows/release-create-kpt-functions.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,23 @@ on:
88
jobs:
99
node-ci:
1010
runs-on: ubuntu-latest
11+
env:
12+
GOPATH: /home/runner/work/kpt-functions-sdk/go
13+
GO111MODULE: off
1114
steps:
12-
- uses: actions/checkout@v1
15+
- name: Set up Go 1.13
16+
uses: actions/setup-go@v1
17+
with:
18+
go-version: 1.13
19+
id: go
20+
- name: Check out code into GOPATH
21+
uses: actions/checkout@v1
22+
with:
23+
path: go/src/github.com/${{ github.repository }}
24+
- name: Build, Test, Lint
25+
run: |
26+
cd go
27+
make publish-typegen
1328
- name: Use Node.js 12.x
1429
uses: actions/setup-node@v1
1530
with:

ts/create-kpt-functions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@googlecontainertools/create-kpt-functions",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "KPT functions CLI",
55
"author": "KPT Authors",
66
"license": "Apache-2.0",
@@ -22,7 +22,7 @@
2222
"prepare": "npm run build",
2323
"build": "tsc",
2424
"watch": "tsc --watch",
25-
"prepublishOnly": "npm test && npm run lint",
25+
"prepublishOnly": "ls bin/typegen_darwin_amd64 bin/typegen_linux_amd64 bin/typegen_windows_amd64",
2626
"clean": "rm -Rf node_modules/ dist/",
2727
"lint": "tslint -p package.json; prettier \"src/**\" \"*.json\" --check",
2828
"lint-license": "license-checker --onlyAllow 'Apache-2.0;MIT;BSD;BSD-2-Clause;BSD-3-Clause;ISC;CC-BY-3.0;CC0-1.0;Unlicense'",

ts/create-kpt-functions/templates/package.json.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"kpt:type-create": "kpt type-create"
1616
},
1717
"dependencies": {
18-
"@googlecontainertools/kpt-functions": "^0.10.0"
18+
"@googlecontainertools/kpt-functions": "^0.13.0"
1919
},
2020
"devDependencies": {
2121
"@googlecontainertools/create-kpt-functions": "^0.12.0",

0 commit comments

Comments
 (0)