Skip to content

Commit

Permalink
Merged main to feature/mintages
Browse files Browse the repository at this point in the history
  • Loading branch information
Andries.Fikkert authored and Andries.Fikkert committed Oct 13, 2024
2 parents 7695445 + 7dfd7e8 commit bbbf22a
Show file tree
Hide file tree
Showing 2,346 changed files with 1,205 additions and 856 deletions.
94 changes: 94 additions & 0 deletions .github/workflows/update-seed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@

name: Update Coinection Seed

on:
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
update-seed:
runs-on: ubuntu-latest
steps:
- name: Checkout Open Coin Data
uses: actions/checkout@v4
with:
repository: coinection/open-coin-data
path: ocd

- name: Checkout Data Converter
uses: actions/checkout@v4
with:
repository: coinection/data-converter
path: data-converter
token: ${{ secrets.ACCESS_TOKEN }}

- name: Checkout Coinection
uses: actions/checkout@v4
with:
repository: coinection/coinection
path: coinection
token: ${{ secrets.ACCESS_TOKEN }}

- name: Get current branch name from Open Coin Data
run: |
cd ./ocd
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
# Get the source branch of the PR
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
else
# Get the branch name from the GITHUB_REF (for push events)
BRANCH_NAME=${GITHUB_REF#refs/heads/}
fi
echo "Current branch: $BRANCH_NAME"
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
- name: Get the user details from Open Coin Data
run: |
cd ./ocd
AUTHOR_EMAIL=$(git log -1 --pretty=format:'%ae')
AUTHOR_NAME=$(git log -1 --pretty=format:'%an')
echo "AUTHOR_EMAIL=$AUTHOR_EMAIL" >> $GITHUB_ENV
echo "AUTHOR_NAME=$AUTHOR_NAME" >> $GITHUB_ENV
- name: Create or update branch on Coinection
run: |
cd ./coinection
git fetch --all
if git rev-parse --verify origin/$BRANCH_NAME; then
echo "Branch $BRANCH_NAME already exists in Coinection, checking out..."
git checkout $BRANCH_NAME
else
echo "Branch $BRANCH_NAME does not exist in Coinection, creating new branch..."
git checkout -b $BRANCH_NAME
fi
- name: Run Data Converter
run: |
cd ./data-converter
npm install
npm run start "../ocd" "../coinection/prisma/data/"
- name: Commit and push changes to Coinection
run: |
cd ./coinection
if git diff --quiet; then
echo "No changes detected in Coinection. Exiting gracefully..."
exit 0
else
echo "Changes detected. Proceeding with commit and push..."
fi
git config --global user.email $AUTHOR_EMAIL
git config --global user.name $AUTHOR_NAME
git add .
git commit -m "Update seed data"
git push origin $BRANCH_NAME
2 changes: 1 addition & 1 deletion Commemoratives/2004/FI-2004-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: FI

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/FI-2004-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/FI-2004-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2004/GR-2004-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: GR

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/GR-2004-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/GR-2004-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2004/IT-2004-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: IT

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/IT-2004-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/IT-2004-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
Binary file removed Commemoratives/2004/Images/FI-2004-200.png
Binary file not shown.
Binary file added Commemoratives/2004/Images/FI-2004-200.webp
Binary file not shown.
Binary file removed Commemoratives/2004/Images/GR-2004-200.png
Binary file not shown.
Binary file added Commemoratives/2004/Images/GR-2004-200.webp
Binary file not shown.
Binary file removed Commemoratives/2004/Images/IT-2004-200.png
Binary file not shown.
Binary file added Commemoratives/2004/Images/IT-2004-200.webp
Binary file not shown.
Binary file removed Commemoratives/2004/Images/LU-2004-200.png
Binary file not shown.
Binary file added Commemoratives/2004/Images/LU-2004-200.webp
Binary file not shown.
Binary file removed Commemoratives/2004/Images/SM-2004-200.png
Binary file not shown.
Binary file added Commemoratives/2004/Images/SM-2004-200.webp
Binary file not shown.
Binary file removed Commemoratives/2004/Images/VA-2004-200.png
Binary file not shown.
Binary file added Commemoratives/2004/Images/VA-2004-200.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion Commemoratives/2004/LU-2004-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: LU

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/LU-2004-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/LU-2004-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2004/SM-2004-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: SM

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/SM-2004-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/SM-2004-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2004/VA-2004-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: VA

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/VA-2004-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/VA-2004-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2005/AT-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: AT

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/AT-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/AT-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
4 changes: 2 additions & 2 deletions Commemoratives/2005/BE-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: BE

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/BE-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/BE-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -24,4 +24,4 @@ Belgium-Luxembourg Economic Union

| Year | Mintmark | Circulated | Brilliant Uncirculated | Proof |
| ---- | -------- | ---------- | ---------------------- | ----- |
| 2005 | | 0 | 0 | 0 |
| 2005 | | 6000000 | 20000 | 3000 |
2 changes: 1 addition & 1 deletion Commemoratives/2005/ES-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: ES

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/ES-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/ES-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2005/FI-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: FI

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/FI-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/FI-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2005/IT-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: IT

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/IT-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/IT-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
Binary file removed Commemoratives/2005/Images/AT-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/AT-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/BE-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/BE-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/ES-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/ES-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/FI-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/FI-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/IT-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/IT-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/LU-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/LU-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/SM-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/SM-2005-200.webp
Binary file not shown.
Binary file removed Commemoratives/2005/Images/VA-2005-200.png
Binary file not shown.
Binary file added Commemoratives/2005/Images/VA-2005-200.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion Commemoratives/2005/LU-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: LU

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/LU-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/LU-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2005/SM-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: SM

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/SM-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/SM-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
2 changes: 1 addition & 1 deletion Commemoratives/2005/VA-2005-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ countryId: VA

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/VA-2005-200.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/VA-2005-200.webp" height="150" alt="Back image">

## Metadata

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2006-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2002-200.png" height="150" alt="Front image"><img src="Images/DE-2006-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2002-200.webp" height="150" alt="Front image"><img src="Images/DE-2006-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Schleswig-Holstein

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2007-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2007-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2007-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Mecklenburg-Vorpommern

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2008-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2008-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2008-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Hamburg

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2009-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2009-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2009-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Saarland

## Mintages

Expand Down
5 changes: 3 additions & 2 deletions Commemoratives/2006 - German federal states/DE-2010-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2010-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2010-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -20,7 +20,8 @@ serieId: GFS-2006
**Currency:** Euro

## Description


Federal state of Bremen

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2011-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2011-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2011-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of North Rhine-Westphalia

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2012-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2012-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2012-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Bavaria

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2013-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2013-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2013-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Baden-Württemberg

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2014-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2014-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2014-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Lower Saxony

## Mintages

Expand Down
3 changes: 2 additions & 1 deletion Commemoratives/2006 - German federal states/DE-2015-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serieId: GFS-2006

## Images

<img src="../../Images/common-2007-200.png" height="150" alt="Front image"><img src="Images/DE-2015-200-000.png" height="150" alt="Back image">
<img src="../../Images/common-2007-200.webp" height="150" alt="Front image"><img src="Images/DE-2015-200.webp" height="150" alt="Back image">

## Metadata

Expand All @@ -21,6 +21,7 @@ serieId: GFS-2006

## Description

Federal state of Hesse

## Mintages

Expand Down
Loading

0 comments on commit bbbf22a

Please sign in to comment.