-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
36 lines (26 loc) · 842 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export VERSION := ${VERSION}
export GITHUB_REPO := streamyfin/jellyfin-plugin-streamyfin
export FILE := streamyfin-${VERSION}.zip
test:
printenv | grep VERSION
dotnet test
zip:
mkdir -p ./dist
zip -r -j "./dist/${FILE}" Jellyfin.Plugin.Streamyfin/bin/Release/net8.0/Jellyfin.Plugin.Streamyfin.dll packages/
csum:
md5sum "./dist/${FILE}"
create-tag:
git tag ${VERSION}
git push origin ${VERSION}
create-gh-release:
gh release create ${VERSION} "./dist/${FILE}" --generate-notes --verify-tag
update-version:
node scripts/update-version.js
update-manifest:
node scripts/validate-and-update-manifest.js
build:
dotnet build --configuration Release
push-manifest:
git commit -m 'new release' manifest.json
git push origin main
release: update-version build zip create-tag create-gh-release update-manifest push-manifest