ci: Update the completed.md file when finished, if needed.
This commit is contained in:
parent
b7da40f530
commit
fe92b0ec49
5 changed files with 119 additions and 3 deletions
32
Jenkinsfile
vendored
32
Jenkinsfile
vendored
|
@ -56,6 +56,13 @@ pipeline {
|
||||||
dir ("build/windows/x64/runner/release") {
|
dir ("build/windows/x64/runner/release") {
|
||||||
bat 'tar -cvf ../../../../../windows.tgz .'
|
bat 'tar -cvf ../../../../../windows.tgz .'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bat 'rmdir /S /Q build'
|
||||||
|
bat 'flutter build windows -t lib\\updateTool.dart'
|
||||||
|
|
||||||
|
bat "build\\windows\\x64\\runner\\release\\pokedex.exe"
|
||||||
|
|
||||||
|
stash includes: "COMPLETED.md", name: "md"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
@ -66,5 +73,30 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage ("Update COMPLETED.md") {
|
||||||
|
agent {
|
||||||
|
label "linux"
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
unstash "md"
|
||||||
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git add COMPLETED.md
|
||||||
|
git commit -m "[BOT] Update completed.md"
|
||||||
|
git push
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
cleanWs()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
class Constants {
|
class Constants {
|
||||||
static const VERSION = "1.0.032625+0149";
|
static const VERSION = "1.0.032625+0207";
|
||||||
|
|
||||||
//static bool get isMobile => Platform.isAndroid || Platform.isIOS;
|
//static bool get isMobile => Platform.isAndroid || Platform.isIOS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,9 @@ enum GameRoute {
|
||||||
BogsunkCavern(commonName: "Bogsunk Cavern"),
|
BogsunkCavern(commonName: "Bogsunk Cavern"),
|
||||||
PalletTown(commonName: "Pallet Town"),
|
PalletTown(commonName: "Pallet Town"),
|
||||||
CeruleanCity(commonName: "Cerulean City"),
|
CeruleanCity(commonName: "Cerulean City"),
|
||||||
|
VermilionCity(commonName: "Vermilion City"),
|
||||||
|
LumioseCity(commonName: "Lumiose City"),
|
||||||
|
SeawardCave(commonName: "Seaward Cave"),
|
||||||
|
|
||||||
// The following mark the pokemon as not usually obtainable
|
// The following mark the pokemon as not usually obtainable
|
||||||
TradeOrMigrate(commonName: "Trade or Migrate from another game"),
|
TradeOrMigrate(commonName: "Trade or Migrate from another game"),
|
||||||
|
|
|
@ -585,7 +585,88 @@ enum Pokemon {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Squirtle(7, Generation.One, [Type.Water], SingleEvolution(8, 16)),
|
Squirtle(
|
||||||
|
7,
|
||||||
|
Generation.One,
|
||||||
|
[Type.Water],
|
||||||
|
SingleEvolution(8, 16),
|
||||||
|
locations: [
|
||||||
|
Location(
|
||||||
|
Game.Red,
|
||||||
|
[GameRoute.PalletTown],
|
||||||
|
Generation.One,
|
||||||
|
additionalGames: [Game.Blue],
|
||||||
|
),
|
||||||
|
Location(Game.Yellow, [GameRoute.VermilionCity], Generation.One),
|
||||||
|
Location(
|
||||||
|
Game.Gold,
|
||||||
|
[GameRoute.TradeOrMigrate],
|
||||||
|
Generation.Two,
|
||||||
|
additionalGames: [Game.Silver, Game.Crystal],
|
||||||
|
),
|
||||||
|
Location(
|
||||||
|
Game.Ruby,
|
||||||
|
[GameRoute.TradeOrMigrate],
|
||||||
|
Generation.Three,
|
||||||
|
additionalGames: [Game.Sapphire, Game.Emerald],
|
||||||
|
),
|
||||||
|
Location(
|
||||||
|
Game.FireRed,
|
||||||
|
[GameRoute.PalletTown],
|
||||||
|
Generation.Three,
|
||||||
|
additionalGames: [Game.LeafGreen],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
dexEntries: [
|
||||||
|
DexEntry(
|
||||||
|
Game.Red,
|
||||||
|
"After birth, its back swells and hardens into a shell. Powerfully sprays foam from its mouth.",
|
||||||
|
Generation.One,
|
||||||
|
additionalGames: [Game.Blue],
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.Yellow,
|
||||||
|
"Shoots water at prey while in the water. Withdraws into its shell when in danger.",
|
||||||
|
Generation.One,
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.Gold,
|
||||||
|
"The shell is soft when it is born. It soon becomes so resilient, prodding fingers will bounce off it.",
|
||||||
|
Generation.Two,
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.Silver,
|
||||||
|
"The shell, which hardens soon after it is born, is resilient. If you poke it, it will bounce back out.",
|
||||||
|
Generation.Two,
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.Crystal,
|
||||||
|
"When it feels threatened, it draws its legs inside its shell and sprays water from its mouth.",
|
||||||
|
Generation.Two,
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.Ruby,
|
||||||
|
"SQUIRTLE’s shell is not merely used for protection. The shell’s rounded shape and the grooves on its surface help minimize resistance in water, enabling this POKéMON to swim at high speeds.",
|
||||||
|
Generation.Three,
|
||||||
|
additionalGames: [Game.Sapphire],
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.FireRed,
|
||||||
|
"When it retracts its long neck into its shell, it squirts out water with vigorous force.",
|
||||||
|
Generation.Three,
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.LeafGreen,
|
||||||
|
"After birth, its back swells and hardens into a shell. It powerfully sprays foam from its mouth.",
|
||||||
|
Generation.Three,
|
||||||
|
),
|
||||||
|
DexEntry(
|
||||||
|
Game.Emerald,
|
||||||
|
"Its shell is not just for protection. Its rounded shape and the grooves on its surface minimize resistance in water, enabling SQUIRTLE to swim at high speeds.",
|
||||||
|
Generation.Three,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
Wartortle(
|
Wartortle(
|
||||||
8,
|
8,
|
||||||
Generation.One,
|
Generation.One,
|
||||||
|
|
|
@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.032625+0149
|
version: 1.0.032625+0207
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.7.0
|
sdk: ^3.7.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue