mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
34 lines
No EOL
1.7 KiB
Text
34 lines
No EOL
1.7 KiB
Text
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 since hash:
|
|
|
|
since 1.4.2.v5
|
|
git log 8dca887fadbbea41fb649ff17c5fe547a82ef23a..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
|
|
|
since 1.4.3.v0
|
|
git log 5de4637d9c7967612c207d3cf915c2861d922029..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
|
|
|
since 1.4.3.v2
|
|
git log 6d8378d5e49629a2fa126baf84340156a28f25db..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
|
|
|
since 1.4.3.v3
|
|
git log 23039572f2206ade860f5835e9b85e82a9c4b2a1..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
|
|
|
since 1.4.3.v2
|
|
git log 6d8378d5e49629a2fa126baf84340156a28f25db..23039572f2206ade860f5835e9b85e82a9c4b2a1 --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
|
|
|
since 1.4.4.v0
|
|
git log 0a458707ddaaa5e7e82ab06d17633084f67077c1..23039572f2206ade860f5835e9b85e82a9c4b2a1 --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 |