Skip to content

Commit

Permalink
i hate powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
sylae committed Sep 24, 2021
1 parent d294e64 commit 6fed02b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions uploadMaps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
# then create a user-password.py: https://www.mediawiki.org/wiki/Manual:Pywikibot/BotPasswords
# run (to make sure it works): python-qgis pwb/pwb.py login


# this isnt 100% needed but...
python-qgis pwb/pwb.py login
python pwb/pwb.py login

# grab our revision tag
$tag = $(git describe --tags --dirty --always)
Expand All @@ -23,5 +22,5 @@ Foreach-Object -Parallel {
# 'prt-departments.png' {$dest = 'PRT departments.png'}
default {return}
}
Measure-Command { python-qgis pwb/pwb.py upload -always -abortonwarn -ignorewarn:exists -filename:$dest $_.FullName "CLI upload from sylae/devilfish-map tag $tag" | Out-Default }
python pwb/pwb.py upload -always -abortonwarn -ignorewarn:exists -filename:$dest $_.FullName "CLI upload from sylae/devilfish-map tag $tag"
} -ThrottleLimit 32

0 comments on commit 6fed02b

Please sign in to comment.