mirror of
https://github.com/correl/mage.git
synced 2024-12-27 20:06:31 +00:00
31 lines
No EOL
1.5 KiB
Text
31 lines
No EOL
1.5 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
|
|
|
|
|
|
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 |