Skip to content

Commit

Permalink
update version in internal gen template
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed Oct 25, 2022
1 parent 23778bb commit 5f6770b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/gen/asmodule.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,16 @@ const cuemodFileTemplate = `
module: "{{ .Module }}/{{ .Name }}"
`

// todo, add version as template, so we can inject the current version and not have to maintain this version below
// the harder part is development and fallback, to appropriate version for dep fetching, maybe support a replace too?
// (but also we need to test the real thing, when not on a tag)
const cuemodsTemplate = `
module {{ .Module }}/{{ .Name }}
cue v0.4.3
require (
github.com/hofstadter-io/hof v0.6.7-alpha.3
github.com/hofstadter-io/hof v0.6.7
)
`

Expand Down

0 comments on commit 5f6770b

Please sign in to comment.