mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-19 12:22:47 +01:00
Shorter tables for dev builds - windows.
This commit is contained in:
parent
1d96e497b3
commit
911f395e32
@ -1 +1 @@
|
||||
Subproject commit ae7084718c41afc01919779e58cd449e0eebd401
|
||||
Subproject commit 4a01edaec7d67d3b2ae81aeea2a3c876216fbab8
|
@ -10,17 +10,21 @@ Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-
|
||||
git config --global user.email "rotter.martinos@gmail.com"
|
||||
git config --global user.name "martinrotter"
|
||||
|
||||
$git_revision = git rev-parse --short HEAD
|
||||
$date = (Get-Date).ToUniversalTime().ToString("MM-dd-yyyy HH:mm:ss UTC")
|
||||
$wikifile = 'C:\rssguard-wiki\Development-builds.md'
|
||||
|
||||
|
||||
$file = (Get-ChildItem '*.7z').Name
|
||||
echo "File to upload: $file"
|
||||
$url = curl.exe --upload-file "$file" "https://transfer.sh/$file" --silent
|
||||
echo "Obtained URL: $url"
|
||||
|
||||
$git_revision = git rev-parse --short HEAD
|
||||
$date = (Get-Date).ToUniversalTime().ToString("MM-dd-yyyy HH:mm:ss UTC")
|
||||
$webengine_type = if ($file -like '*nowebengine*') { echo "false" } else { echo "true" }
|
||||
$regex = "\| Windows \|.+transfer\.sh \(7z\).+ $webengine_type \| "
|
||||
$wikiline = "| Windows | $date | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh (7z)]($url) | $webengine_type | "
|
||||
|
||||
echo "| $date | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh (7z)]($url) | $webengine_type | " | ac -Encoding "utf8" C:\rssguard-wiki\Windows-development-builds.md
|
||||
(Get-Content $wikifile) -replace $regex, $wikiline | ac -Encoding "utf8" $wikifile
|
||||
|
||||
|
||||
$file = (Get-ChildItem '*.exe').Name
|
||||
@ -28,11 +32,11 @@ echo "File to upload: $file"
|
||||
$url = curl.exe --upload-file "$file" "https://transfer.sh/$file" --silent
|
||||
echo "Obtained URL: $url"
|
||||
|
||||
$git_revision = git rev-parse --short HEAD
|
||||
$date = (Get-Date).ToUniversalTime().ToString("MM-dd-yyyy HH:mm:ss UTC")
|
||||
$webengine_type = if ($file -like '*nowebengine*') { echo "false" } else { echo "true" }
|
||||
$regex = "\| Windows \|.+transfer\.sh \(exe\).+ $webengine_type \| "
|
||||
$wikiline = "| Windows | $date | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh (exe)]($url) | $webengine_type | "
|
||||
|
||||
echo "| $date | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh (exe)]($url) | $webengine_type | " | ac -Encoding "utf8" C:\rssguard-wiki\Windows-development-builds.md
|
||||
(Get-Content $wikifile) -replace $regex, $wikiline | ac -Encoding "utf8" $wikifile
|
||||
|
||||
|
||||
cd C:\rssguard-wiki
|
||||
|
Loading…
Reference in New Issue
Block a user