Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed Jan 23, 2024
1 parent b55a27c commit e485290
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/choco.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: choco config set cacheLocation "$($env:LOCALAPPDATA)\choco-cache"
- name: Set ENV vars
id: version
run: echo "PACKAGE_VERSION=$(cat choco.json | jq -r '.version')" >> $env:GITHUB_ENV
run: echo "PACKAGE_VERSION=$(cat package.json | jq -r '.chocoVersion')" >> $env:GITHUB_ENV
- name: Choco pack
run: choco pack load/choco/task.nuspec --out load/choco
- name: DIR
Expand Down
4 changes: 2 additions & 2 deletions bump.choco.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import fs from 'fs'
import pkg from 'choco.json'
import pkg from 'package.json'

const TOOL = `tool/chocolateyinstall.ps1`
const SPEC = `load/choco/task.nuspec`
const VERSION = pkg.version
const VERSION = pkg.chocoVersion

fs.writeFileSync(
SPEC,
Expand Down
3 changes: 0 additions & 3 deletions choco.json

This file was deleted.

10 changes: 5 additions & 5 deletions load/choco/task.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>task</id>
<title>task</title>
<version>0.0.2</version>
<version>0.0.4</version>
<owners>Lance Pollard</owners>
<authors>TermSurf</authors>
<description>TermSurf Task Dependency Installation (Windows)</description>
Expand All @@ -12,10 +12,10 @@
<packageSourceUrl>https://github.com/termsurf/task</packageSourceUrl>
<projectUrl>https://github.com/termsurf/task</projectUrl>
<dependencies>
<!-- <dependency id="libreoffice-fresh" />
<dependency id="imagemagick" /> -->
<dependency id="libreoffice-fresh" />
<dependency id="imagemagick" />
<dependency id="fontforge" />
<!-- <dependency id="ffmpeg" />
<dependency id="ffmpeg" />
<dependency id="miktex.install" />
<dependency id="inkscape" />
<dependency id="gifsicle" />
Expand All @@ -28,7 +28,7 @@
<dependency id="maven" />
<dependency id="llvm" />
<dependency id="julia" />
<dependency id="pandoc" /> -->
<dependency id="pandoc" />
</dependencies>
</metadata>
</package>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "./host/code/node/index.js",
"browser": "./host/code/browser/index.js",
"type": "module",
"chocoVersion": "0.0.4",
"bin": {
"task": "./host/code/cli/index.js"
},
Expand Down

0 comments on commit e485290

Please sign in to comment.