mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
Updated script and instruction for getting the list of implemented cards
This commit is contained in:
parent
85b31df2d5
commit
b69e23f4b8
3 changed files with 22 additions and 16 deletions
|
@ -70,12 +70,12 @@ foreach my $set (keys(%cards)) {
|
||||||
}
|
}
|
||||||
my $first = 1;
|
my $first = 1;
|
||||||
foreach my $card (@{$cards{$set}}) {
|
foreach my $card (@{$cards{$set}}) {
|
||||||
|
if ($cardsBySet{$knownSets{$set}}{$card}) {
|
||||||
if ($first == 0) {
|
if ($first == 0) {
|
||||||
print REPORT "; ";
|
print REPORT "; ";
|
||||||
} else {
|
} else {
|
||||||
$first = 0;
|
$first = 0;
|
||||||
}
|
}
|
||||||
if ($cardsBySet{$knownSets{$set}}{$card}) {
|
|
||||||
print REPORT $cardsBySet{$knownSets{$set}}{$card}[0];
|
print REPORT $cardsBySet{$knownSets{$set}}{$card}[0];
|
||||||
} else {
|
} else {
|
||||||
#$card =~ s/([A-Z]{1}[a-z]+)/ $1/g;
|
#$card =~ s/([A-Z]{1}[a-z]+)/ $1/g;
|
||||||
|
|
|
@ -1,11 +1 @@
|
||||||
1. Go to Mage Repository
|
git log 9ac166abc92f70aebdbe34825880ff8f909465ed..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||||
2. Run command exemplified below:
|
|
||||||
|
|
||||||
For cards added since tagOrSha1 till head revision (you can replace HEAD with another tagOrSha1):
|
|
||||||
git log tagOrSha1..HEAD --diff-filter=A --name-status | sed -ne 's/^A[^u]Mage.Sets\/src\/mage\/sets\///p' | sort -u > added_cards.txt
|
|
||||||
|
|
||||||
3. Copy added_cards.txt to trunk\Utils folder
|
|
||||||
4. Run script:
|
|
||||||
> perl extract_in_wiki_format.perl
|
|
||||||
5. Open added_cards_in_wiki_format.txt
|
|
||||||
6. Copy content to release notes
|
|
16
Utils/release/getting_implemented_cards.txt
Normal file
16
Utils/release/getting_implemented_cards.txt
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
1. Go to Mage Repository
|
||||||
|
2. Run command exemplified below:
|
||||||
|
|
||||||
|
For cards added since tagOrSha1 till head revision (you can replace HEAD with another tagOrSha1):
|
||||||
|
git log tagOrSha1..HEAD --diff-filter=A --name-status | sed -ne 's/^A[^u]Mage.Sets\/src\/mage\/sets\///p' | sort -u > added_cards.txt
|
||||||
|
|
||||||
|
for Windows: you need to replace ' by "" and remove -u in sort
|
||||||
|
|
||||||
|
Example for cards implemented from 0.8.7 till 0.9:
|
||||||
|
git log 9ac166abc92f70aebdbe34825880ff8f909465ed..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||||
|
|
||||||
|
3. Copy added_cards.txt to trunk\Utils folder
|
||||||
|
4. Run script:
|
||||||
|
> perl extract_in_wiki_format.perl
|
||||||
|
5. Open added_cards_in_wiki_format.txt
|
||||||
|
6. Copy content to release notes
|
Loading…
Reference in a new issue