Commit Graph

11 Commits

Author SHA1 Message Date
David Simansky bfc00b8c46
Fix package location for build flags (#1978) 2024-11-19 16:51:59 +00:00
David Simansky bcd18d39f4
Fix OCI image build (#1666)
* Fix OCI image build

* Reflect review feedback
2022-04-29 11:48:53 +00:00
David Simansky 76a0b1e6bc
Fix display version in OCI image (#1662)
* Fix display version in OCI image

* Refactor ko ldflags to be used from env vars
2022-04-28 09:08:00 +00:00
kobayashi 587a4a8cb7
change display versions (#1601) 2022-03-01 05:25:42 -08:00
Chris Suszynski e7d7cad429
Allow overriding of build.sh for downstream projects (#1544) 2021-12-10 04:50:29 -08:00
Roland Huß a7a0534f44
Automatically set the proper version for the serving and eventing dependencies (#1462)
for `kn version`. This is now directly extracted from go.mod and
saves one manual step when doing the release.
2021-09-23 03:30:13 -07:00
Navid Shaikh df04573590 fix(version): Displays supported APIs and version (#453)
* fix(version): Displays supported APIs and version

 Fixes #404

 ```
  ./kn version
Version:      v20191017-local-6328a73-dirty
Build Date:   2019-10-17 09:55:55
Git Revision: 6328a73
Supported APIs:
- serving.knative.dev/v1alpha1 (knative-serving v0.8.0)
 ```

* Removes ServingVersion feeding from ldflags

 - hardcodes the supported APIs as they're supposed to be updated when we bump deps

* Fixes typo in e2e tests

* Uses array for deterministic order of printing supported APIs
2019-10-18 03:35:18 -07:00
Naomi Seyfer 25c726453e Update serving dependency to 0.8; change all import paths (#368)
* Update serving to 0.8. Try building.

* Find the right serving version

* Change our own import path to knative.dev to match

* Remove dependency on old version of client

* Update yaml template

* Add sleep to test to deal with race

* fix merge conflict

* Update vendor modules
2019-08-15 18:09:08 -07:00
Roland Huß 74abba5eb4 feat(build.sh) - Add mandatory license check (#187)
We could decide to make that optional, too, if this is coming into the way.
2019-06-14 15:50:43 -07:00
Roland Huß bfd5b56c3f chore: Streamlined build.sh (#136)
* chore: Streamlined build.sh

* Merged generate-docs.sh into build.sh
* Split up into smaller functions
* Added serving dependency version to 'kn version' command

Not sure whether the latter is really useful (showing the serving dependency)
as this is might get confused with the knative version
installed on the cluster.

* chore: Fixed indentation
2019-05-28 06:08:31 -07:00
Roland Huß e0f4f51e67 fix(build.sh): Reintroduced build-flags.sh (#122)
so that it can be shared between build.sh and release.sh

Fixes #120
2019-05-17 15:17:09 -07:00