pulumi/.github/scripts
Julien P bea5c00885
Move .version to /sdk and embed it (#15185)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

go:embed can not traverse paths upwards, move .version so we can embed
it. This enables us to have the version available outside of binary
builds (where we use linker flags to embed the version in
sdk/go/common/version/version.go).

This is useful for automation API, where we want to have the current
version available to us, but don't want to force consumers of the API to
build and test with linker flags.

Blocking for https://github.com/pulumi/pulumi/pull/15049

## Checklist

- [ ] I have run `make tidy` to update any new dependencies
- [ ] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`
2024-01-19 14:11:17 +00:00
..
generate-homebrew-tap Fix .github/scripts/generate-homebrew-tap to export PULUMI_VERSION 2022-10-06 08:44:51 +01:00
get-changelog fix(ci): Fix pull request URLs in changelogs 2022-10-17 18:58:25 -07:00
get-changelog-comment ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
get-previous-version ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
get-version Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00
pulumi-tap-template.rb ci: Enable updating Homebrew Tap repository on release 2022-09-19 16:13:38 -07:00
set-output Replace deprecated command with environment file 2023-02-20 11:14:39 +09:00
update-versions ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
versions.yaml Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00