Commit cd08e082 authored by Houtan Bastani's avatar Houtan Bastani

move website folder to macos instead of macosx

parent fdca5096
......@@ -26,7 +26,7 @@
- Fill the `assets/snapshot` folder with the nightly snapshots and checksums
- When done, you will have four subfolders:
- `assets/snapshot/macosx`
- `assets/snapshot/macos`
- `assets/snapshot/source`
- `assets/snapshot/windows`
- `assets/snapshot/windows-zip`
......
......@@ -288,9 +288,9 @@ defaults:
values:
snapshot: "windows-zip"
- scope:
path: "assets/snapshot/macosx"
path: "assets/snapshot/macos"
values:
snapshot: "macosx"
snapshot: "macos"
- scope:
path: "assets/snapshot/source"
values:
......@@ -305,9 +305,9 @@ defaults:
values:
release: "windows-zip"
- scope:
path: "assets/release/macosx"
path: "assets/release/macos"
values:
release: "macosx"
release: "macos"
- scope:
path: "assets/release/source"
values:
......
......@@ -42,7 +42,7 @@
"Open" from the menu that pops up.
</p>
<div class="download_table">
{% include snapshot/download-snapshot-macosx.html %}
{% include snapshot/download-snapshot-macos.html %}
</div>
</section>
......
......@@ -42,7 +42,7 @@
</p>
<p class="stable">
<i class="fas fa-file-download"></i>
{% include release/download-release-macosx.html %}
{% include release/download-release-macos.html %}
</p>
</section>
......
......@@ -8,12 +8,12 @@ for branch in release snapshot; do
mkdir -p "$branch"
cd "$branch"
wget --no-verbose "https://www.dynare.org/$branch/macosx.json"
wget --no-verbose "https://www.dynare.org/$branch/macos.json"
wget --no-verbose "https://www.dynare.org/$branch/source.json"
wget --no-verbose "https://www.dynare.org/$branch/windows.json"
wget --no-verbose "https://www.dynare.org/$branch/windows-zip.json"
for dir in macosx source windows windows-zip; do
for dir in macos source windows windows-zip; do
readarray -t filenames < <(jq .[].filename "$dir.json")
readarray -t timestamps < <(jq .[].date "$dir.json")
readarray -t size < <(jq .[].size "$dir.json")
......@@ -29,7 +29,7 @@ for branch in release snapshot; do
if [[ $dir == windows* ]]; then
version=${split[1]}
ext=${filename##*.}
elif [[ $dir == macosx ]]; then
elif [[ $dir == macos ]]; then
version=${split[1]%.*}
ext=${filename##*.}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment