diff --git a/INSTALL.html b/INSTALL.html index 66a4d884..ece942c4 100644 --- a/INSTALL.html +++ b/INSTALL.html @@ -31,14 +31,15 @@
To test the latest version you need the required development environment and follow the steps listed below in “Compiling from Source”.
-The following experimental installer should get the latest stable release for macOS and Linux (e.g. Debian, Ubuntu, Raspberry Pi OS).
Copy and run the following command in your shell (e.g. Terminal)
curl https://caltechlibrary.github.io/irdmtools/installer.sh | sh
-NOTE: Windows 11 support is via Window’s Sub-System for Linux (aka -WSL). If you have that available then you can use the installer example -above.
+For Windows you can use a Powershell script with the following +command.
+irm https://caltechlibrary.github.io/irdmtools/installer.ps1 | iex
This may change in the future.
Action parameters are the specific optional or required parameters diff --git a/ep3util.1.md b/ep3util.1.md index 943ed6eb..1972c8d1 100644 --- a/ep3util.1.md +++ b/ep3util.1.md @@ -1,6 +1,6 @@ -%ep3util(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%ep3util(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel and Tom Morrell -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/eprint2rdm.1.md b/eprint2rdm.1.md index b07a6e86..93f858cf 100644 --- a/eprint2rdm.1.md +++ b/eprint2rdm.1.md @@ -1,6 +1,6 @@ -%eprint2rdm(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%eprint2rdm(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel and Tom Morrell -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/eprintrest.1.md b/eprintrest.1.md index 232126c6..2e93b7e9 100644 --- a/eprintrest.1.md +++ b/eprintrest.1.md @@ -1,6 +1,6 @@ -%eprintrest(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%eprintrest(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel and Tom Morrell -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/installer.ps1 b/installer.ps1 new file mode 100755 index 00000000..00771fc4 --- /dev/null +++ b/installer.ps1 @@ -0,0 +1,48 @@ +#!/usr/bin/env pwsh +# Generated with codemeta-ps1-installer.tmpl, see https://github.com/caltechlibrary/codemeta-pandoc-examples + +# +# Set the package name and version to install +# +$PACKAGE = "irdmtools" +$VERSION = "0.0.84-dev" +$GIT_GROUP = "caltechlibrary" +$RELEASE = "https://github.com/${GIT_GROUP}/${PACKAGE}/releases/tag/v${VERSION}" +$SYSTEM_TYPE = Get-ComputerInfo -Property CsSystemType +if ($SYSTEM_TYPE.CsSystemType.Contains("ARM64")) { + $MACHINE = "arm64" +} else { + $MACHINE = "x86_64" +} + +# FIGURE OUT Install directory +$BIN_DIR = "${Home}\bin" +Write-Output "${PACKAGE} will be installed in ${BIN_DIR}" + +# +# Figure out what the zip file is named +# +$ZIPFILE = "${PACKAGE}-v${VERSION}-Windows-${MACHINE}.zip" + +# +# Check to see if this zip file has been downloaded. +# +$DOWNLOAD_URL = "https://github.com/${GIT_GROUP}/${PACKAGE}/releases/download/v${VERSION}/${ZIPFILE}" + +if (!(Test-Path $BIN_DIR)) { + New-Item $BIN_DIR -ItemType Directory | Out-Null +} +curl.exe -Lo "${ZIPFILE}" "${DOWNLOAD_URL}" + +tar.exe xf "${ZIPFILE}" -C "${Home}" + +Remove-Item $ZIPFILE + +$User = [System.EnvironmentVariableTarget]::User +$Path = [System.Environment]::GetEnvironmentVariable('Path', $User) +if (!(";${Path};".ToLower() -like "*;${BIN_DIR};*".ToLower())) { + [System.Environment]::SetEnvironmentVariable('Path', "${Path};${BIN_DIR}", $User) + $Env:Path += ";${BIN_DIR}" +} + +Write-Output "${PACKAGE} was installed successfully to ${BIN_DIR}" diff --git a/pagefind/fragment/unknown_25a443c.pf_fragment b/pagefind/fragment/unknown_25a443c.pf_fragment new file mode 100644 index 00000000..3423da8a Binary files /dev/null and b/pagefind/fragment/unknown_25a443c.pf_fragment differ diff --git a/pagefind/fragment/unknown_7e9fe31.pf_fragment b/pagefind/fragment/unknown_7e9fe31.pf_fragment new file mode 100644 index 00000000..0789e461 Binary files /dev/null and b/pagefind/fragment/unknown_7e9fe31.pf_fragment differ diff --git a/pagefind/fragment/unknown_7fa327d.pf_fragment b/pagefind/fragment/unknown_7fa327d.pf_fragment new file mode 100644 index 00000000..dce5194f Binary files /dev/null and b/pagefind/fragment/unknown_7fa327d.pf_fragment differ diff --git a/pagefind/fragment/unknown_c988bd6.pf_fragment b/pagefind/fragment/unknown_c988bd6.pf_fragment new file mode 100644 index 00000000..471f66f9 Binary files /dev/null and b/pagefind/fragment/unknown_c988bd6.pf_fragment differ diff --git a/pagefind/index/unknown_c96490b.pf_index b/pagefind/index/unknown_c96490b.pf_index new file mode 100644 index 00000000..418bc0ba Binary files /dev/null and b/pagefind/index/unknown_c96490b.pf_index differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index f3f00d1d..04fa5ebe 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.1.0","languages":{"unknown":{"hash":"unknown_cfe43c953ae8668","wasm":null,"page_count":22}}} \ No newline at end of file +{"version":"1.1.0","languages":{"unknown":{"hash":"unknown_cd8e22b74a2a0ce","wasm":null,"page_count":23}}} \ No newline at end of file diff --git a/pagefind/pagefind.unknown_cd8e22b74a2a0ce.pf_meta b/pagefind/pagefind.unknown_cd8e22b74a2a0ce.pf_meta new file mode 100644 index 00000000..d210c68e Binary files /dev/null and b/pagefind/pagefind.unknown_cd8e22b74a2a0ce.pf_meta differ diff --git a/people2vocabulary.1.md b/people2vocabulary.1.md index 676a777b..5114f8f6 100644 --- a/people2vocabulary.1.md +++ b/people2vocabulary.1.md @@ -1,6 +1,6 @@ -%people2vocabulary(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%people2vocabulary(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/rdm2eprint.1.md b/rdm2eprint.1.md index 4b259ddf..ed29698d 100644 --- a/rdm2eprint.1.md +++ b/rdm2eprint.1.md @@ -1,6 +1,6 @@ -%rdm2eprint(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%rdm2eprint(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel and Tom Morrell -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/rdmds2citations.1.md b/rdmds2citations.1.md index 63fb782d..b14b399c 100644 --- a/rdmds2citations.1.md +++ b/rdmds2citations.1.md @@ -1,6 +1,6 @@ -%rdmds2citations(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%rdmds2citations(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel and Tom Morrell -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/rdmutil.1.md b/rdmutil.1.md index dea60b45..b20825c0 100644 --- a/rdmutil.1.md +++ b/rdmutil.1.md @@ -1,6 +1,6 @@ -%rdmutil(1) irdmtools user manual | version 0.0.84-dev 7b6afcc2 +%rdmutil(1) irdmtools user manual | version 0.0.84-dev 3d8dd325 % R. S. Doiel and Tom Morrell -% 2024-06-10 +% 2024-07-09 # NAME diff --git a/version.go b/version.go index f2f9adbb..08a24690 100644 --- a/version.go +++ b/version.go @@ -9,10 +9,10 @@ const ( Version = "0.0.84-dev" // ReleaseDate, the date version.go was generated - ReleaseDate = "2024-06-10" + ReleaseDate = "2024-07-09" // ReleaseHash, the Git hash when version.go was generated - ReleaseHash = "7b6afcc2" + ReleaseHash = "3d8dd325" LicenseText = ` Redistribution and use in source and binary forms, with or without