gotify-server: 2.0.17 -> 2.0.18
Use new line in printf calls of update.sh, so editor config CI check won't fail.
This commit is contained in:
parent
b3fd4226ba
commit
a4cdb9a624
@ -24,11 +24,6 @@ buildGoModule rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace app.go \
|
|
||||||
--replace 'Version = "unknown"' 'Version = "${version}"'
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ sqlite ];
|
buildInputs = [ sqlite ];
|
||||||
|
|
||||||
ui = callPackage ./ui.nix { };
|
ui = callPackage ./ui.nix { };
|
||||||
@ -46,7 +41,7 @@ buildGoModule rec {
|
|||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
buildFlagsArray = [
|
buildFlagsArray = [
|
||||||
"-ldflags='-X main.Version=${version} -X main.Mode=prod'"
|
"-ldflags=-X main.Version=${version} -X main.Mode=prod"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -5,24 +5,24 @@
|
|||||||
"homepage": ".",
|
"homepage": ".",
|
||||||
"proxy": "http://localhost:80",
|
"proxy": "http://localhost:80",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@material-ui/core": "^4.9.5",
|
"@material-ui/core": "^4.11.0",
|
||||||
"@material-ui/icons": "^4.9.1",
|
"@material-ui/icons": "^4.9.1",
|
||||||
"axios": "^0.19.0",
|
"axios": "^0.20.0",
|
||||||
"codemirror": "^5.43.0",
|
"codemirror": "^5.57.0",
|
||||||
"detect-browser": "^5.1.0",
|
"detect-browser": "^5.1.1",
|
||||||
"js-base64": "^2.5.1",
|
"js-base64": "^3.4.5",
|
||||||
"mobx": "^5.1.1",
|
"mobx": "^5.15.6",
|
||||||
"mobx-react": "^6.2.2",
|
"mobx-react": "^6.3.0",
|
||||||
"mobx-utils": "^5.0.2",
|
"mobx-utils": "^5.6.1",
|
||||||
"notifyjs": "^3.0.0",
|
"notifyjs": "^3.0.0",
|
||||||
"prop-types": "^15.6.2",
|
"prop-types": "^15.6.2",
|
||||||
"react": "^16.4.2",
|
"react": "^16.4.2",
|
||||||
"react-codemirror2": "^7.1.0",
|
"react-codemirror2": "^7.2.1",
|
||||||
"react-dom": "^16.4.2",
|
"react-dom": "^16.4.2",
|
||||||
"react-infinite": "^0.13.0",
|
"react-infinite": "^0.13.0",
|
||||||
"react-markdown": "^4.0.6",
|
"react-markdown": "^4.0.6",
|
||||||
"react-router": "^5.1.2",
|
"react-router": "^5.2.0",
|
||||||
"react-router-dom": "^5.1.2",
|
"react-router-dom": "^5.2.0",
|
||||||
"react-timeago": "^4.1.9",
|
"react-timeago": "^4.1.9",
|
||||||
"remove-markdown": "^0.3.0",
|
"remove-markdown": "^0.3.0",
|
||||||
"typeface-roboto": "0.0.75"
|
"typeface-roboto": "0.0.75"
|
||||||
@ -32,36 +32,41 @@
|
|||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test --env=node",
|
"test": "react-scripts test --env=node",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"lint": "tslint --project .",
|
"lint": "eslint \"src/*.{ts,tsx}\"",
|
||||||
"lintfix": "tslint --fix --project .",
|
|
||||||
"format": "prettier \"src/**/*.{ts,tsx}\" --write",
|
"format": "prettier \"src/**/*.{ts,tsx}\" --write",
|
||||||
"testformat": "prettier \"src/**/*.{ts,tsx}\" --list-different"
|
"testformat": "prettier \"src/**/*.{ts,tsx}\" --list-different"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/codemirror": "0.0.91",
|
"@types/codemirror": "0.0.98",
|
||||||
"@types/detect-browser": "^4.0.0",
|
"@types/detect-browser": "^4.0.0",
|
||||||
"@types/get-port": "^4.0.0",
|
"@types/get-port": "^4.0.0",
|
||||||
"@types/jest": "^25.2.1",
|
"@types/jest": "^26.0.13",
|
||||||
"@types/js-base64": "^2.3.1",
|
"@types/js-base64": "^3.0.0",
|
||||||
"@types/node": "^13.13.5",
|
"@types/node": "^14.10.1",
|
||||||
"@types/notifyjs": "^3.0.0",
|
"@types/notifyjs": "^3.0.2",
|
||||||
"@types/puppeteer": "^2.0.1",
|
"@types/puppeteer": "^3.0.2",
|
||||||
"@types/react": "^16.4.11",
|
"@types/react": "^16.9.49",
|
||||||
"@types/react-dom": "^16.0.7",
|
"@types/react-dom": "^16.9.8",
|
||||||
"@types/react-infinite": "0.0.34",
|
"@types/react-infinite": "0.0.35",
|
||||||
"@types/react-router-dom": "^5.1.5",
|
"@types/react-router-dom": "^5.1.5",
|
||||||
"@types/remove-markdown": "^0.1.1",
|
"@types/remove-markdown": "^0.1.1",
|
||||||
"@types/rimraf": "^3.0.0",
|
"@types/rimraf": "^3.0.0",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^4.1.0",
|
||||||
|
"@typescript-eslint/parser": "^4.1.0",
|
||||||
|
"eslint-config-prettier": "^6.11.0",
|
||||||
|
"eslint-plugin-import": "^2.22.0",
|
||||||
|
"eslint-plugin-jest": "^24.0.0",
|
||||||
|
"eslint-plugin-prefer-arrow": "^1.2.2",
|
||||||
|
"eslint-plugin-react": "^7.20.6",
|
||||||
|
"eslint-plugin-unicorn": "^21.0.0",
|
||||||
"get-port": "^5.1.1",
|
"get-port": "^5.1.1",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.1.1",
|
||||||
"puppeteer": "^3.0.4",
|
"puppeteer": "^5.3.0",
|
||||||
"react-scripts": "^3.4.1",
|
"react-scripts": "^3.4.3",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"tree-kill": "^1.2.0",
|
"tree-kill": "^1.2.0",
|
||||||
"tslint": "^6.1.2",
|
"typescript": "4.0.2",
|
||||||
"tslint-sonarts": "^1.7.0",
|
"wait-on": "^5.2.0"
|
||||||
"typescript": "3.8.3",
|
|
||||||
"wait-on": "^5.0.0"
|
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "react-app"
|
"extends": "react-app"
|
||||||
|
@ -1 +1 @@
|
|||||||
"0agnbpqzz751643c4s0fs10b3zw98pp8r9kys9p1vxbb3d6r2anb"
|
"1v123j9d4psbg7pnqnc7bc9li2qyahapjbimmf0qpfxacx968gm9"
|
||||||
|
@ -9,11 +9,11 @@ latest_release=$(curl --silent https://api.github.com/repos/gotify/server/releas
|
|||||||
version=$(jq -r '.tag_name' <<<"$latest_release")
|
version=$(jq -r '.tag_name' <<<"$latest_release")
|
||||||
echo got version $version
|
echo got version $version
|
||||||
echo \""${version#v}"\" > "$dirname/version.nix"
|
echo \""${version#v}"\" > "$dirname/version.nix"
|
||||||
printf '%s' $(nix-prefetch-git --quiet --rev ${version} https://github.com/gotify/server | jq .sha256) > $dirname/source-sha.nix
|
printf '%s\n' $(nix-prefetch-git --quiet --rev ${version} https://github.com/gotify/server | jq .sha256) > $dirname/source-sha.nix
|
||||||
tput setaf 1
|
tput setaf 1
|
||||||
echo zeroing vendorSha256 in $dirname/vendor-sha.nix
|
echo zeroing vendorSha256 in $dirname/vendor-sha.nix
|
||||||
tput sgr0
|
tput sgr0
|
||||||
printf '"%s"' "0000000000000000000000000000000000000000000000000000" > $dirname/vendor-sha.nix
|
printf '"%s"\n' "0000000000000000000000000000000000000000000000000000" > $dirname/vendor-sha.nix
|
||||||
|
|
||||||
GOTIFY_WEB_SRC="https://raw.githubusercontent.com/gotify/server/$version"
|
GOTIFY_WEB_SRC="https://raw.githubusercontent.com/gotify/server/$version"
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ echo running nix-build for gotify itself in order to get vendorSha256
|
|||||||
set +e
|
set +e
|
||||||
vendorSha256="$(nix-build -A gotify-server 2>&1 | grep "got:" | cut -d':' -f3)"
|
vendorSha256="$(nix-build -A gotify-server 2>&1 | grep "got:" | cut -d':' -f3)"
|
||||||
set -e
|
set -e
|
||||||
printf '"%s"' "$vendorSha256" > $dirname/vendor-sha.nix
|
printf '"%s"\n' "$vendorSha256" > $dirname/vendor-sha.nix
|
||||||
tput setaf 2
|
tput setaf 2
|
||||||
echo got vendorSha256 of: $vendorSha256
|
echo got vendorSha256 of: $vendorSha256
|
||||||
tput sgr0
|
tput sgr0
|
||||||
|
@ -1 +1 @@
|
|||||||
"0cczw8h1mibxmfgy2z6xnqq11x31ai17gnq2z4j5751b5finhqng"
|
"1in4gzmrgb6z7p5fnz33f88g5l0vki2xlxlllk5wy9icp4h3h9sd"
|
||||||
|
@ -1 +1 @@
|
|||||||
"2.0.17"
|
"2.0.18"
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user