Skip to content

Commit

Permalink
enable caching on release generator
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jun 21, 2024
1 parent 1b20278 commit ef804c2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "docs",
"type": "module",
"private": true,
"version": "1.41.3",
"version": "1.41.4",
"license": "MIT",
"scripts": {
"dev": "astro dev --host",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genaiscript",
"version": "1.41.3",
"version": "1.41.4",
"main": "built/genaiscript.cjs",
"bin": {
"genaiscript": "./built/genaiscript.cjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genaiscript-core",
"version": "1.41.3",
"version": "1.41.4",
"main": "src/index.ts",
"license": "MIT",
"private": true,
Expand Down
5 changes: 4 additions & 1 deletion packages/sample/genaisrc/git-release-notes.genai.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
script({ system: ["system"], temperature: 1, model: "openai:gpt-4-32k" })
// find previous tag
const pkg = JSON.parse((await workspace.readText("package.json")).content)
const { stdout: tag } = await host.exec("git", [
"describe",
"--tags",
Expand Down Expand Up @@ -28,12 +29,14 @@ You are an expert software developer and release manager.
## Task
Generate a clear, exciting, relevant, useful release notes
for the upcoming release of your software. The commits in the release are in COMMITS.
for the upcoming release ${pkg.version} of your software. The commits in the release are in COMMITS.
The diff of the changes are in DIFF.
## Guidelines
- tell a story about the changes
- use emojis
- do NOT give a commit overview
- add deep links to commits if possible. The repository is hosted at https://github.com/microsoft/genaiscript
`
2 changes: 1 addition & 1 deletion packages/sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genaiscript-sample",
"version": "1.41.3",
"version": "1.41.4",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"displayName": "GenAIScript Insiders",
"description": "Generative AI Scripting.",
"version": "1.41.3",
"version": "1.41.4",
"icon": "icon.png",
"engines": {
"vscode": "^1.90.0"
Expand Down
2 changes: 1 addition & 1 deletion slides/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genaiscript-slides",
"version": "1.41.3",
"version": "1.41.4",
"type": "module",
"private": true,
"npm": {
Expand Down

0 comments on commit ef804c2

Please sign in to comment.