Compare commits

...

3 commits

Author SHA1 Message Date
08f7f8d87b
Fixed API manager URL 2024-07-30 10:21:12 -07:00
9f5f0c5642 Added release build script. Closes #3 2020-06-11 17:33:30 -07:00
b5e27de90d Added changelog. 2020-05-28 14:07:52 -07:00
6 changed files with 53 additions and 5 deletions

25
CHANGELOG.md Normal file
View file

@ -0,0 +1,25 @@
# Changelog
## [0.9.2](https://github.com/ethauvin/namesilo-letsencrypt/tree/0.9.2) (2020-05-28)
[Full Changelog](https://github.com/ethauvin/namesilo-letsencrypt/compare/0.9.1...0.9.2)
**Closed issues:**
- Do not support multiple \_acme-challenge records [\#1](https://github.com/ethauvin/namesilo-letsencrypt/issues/1)
**Merged pull requests:**
- make python3.4 compatible. add subdomains support [\#2](https://github.com/ethauvin/namesilo-letsencrypt/pull/2) ([Junker](https://github.com/Junker))
## [0.9.1](https://github.com/ethauvin/namesilo-letsencrypt/tree/0.9.1) (2020-03-15)
[Full Changelog](https://github.com/ethauvin/namesilo-letsencrypt/compare/0.9.0...0.9.1)
## [0.9.0](https://github.com/ethauvin/namesilo-letsencrypt/tree/0.9.0) (2019-04-30)
[Full Changelog](https://github.com/ethauvin/namesilo-letsencrypt/compare/8a91146faebd196b223f7653e470428130f26246...0.9.0)
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

View file

@ -1,6 +1,6 @@
# NameSilo Let's Encrypt
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause)
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-3-Clause)
[![Python 3.4](https://img.shields.io/badge/python-3.4-blue.svg)](https://www.python.org/)
Python scripts (hook) to automate obtaining [Let's Encrypt](https://letsencrypt.org/) certificates,
@ -17,14 +17,13 @@ pip install tldextract untangle
Download the [latest release](https://github.com/ethauvin/namesilo-letsencrypt/releases) archive and expand it in the desired directory.
## Configuration
Add your [NameSilo API key](https://www.namesilo.com/account_api.php)
Add your [NameSilo API key](https://www.namesilo.com/account/api-manager)
to the top of the `config.py` file:
```python
# Get your API Key from: https://www.namesilo.com/account_api.php
# Get your API Key from: https://www.namesilo.com/account/api-manager
apikey = "YOUR_API_KEY"
```

View file

@ -1,4 +1,4 @@
# Get your API Key from: https://www.namesilo.com/account_api.php
# Get your API Key from: https://www.namesilo.com/account/api-manager
apikey = "YOUR_API_KEY"
# Minutes to wait for DNS changes to complete.
wait = 25

24
release.sh Executable file
View file

@ -0,0 +1,24 @@
#!/bin/bash
RELEASE=release
if [ $# != 1 ];
then
echo "Usage: $(basename "$0") <version>"
exit 2
else
if ! [ -d "$RELEASE" ]
then
mkdir "$RELEASE"
fi
PROJECT=$(basename "$(pwd)")
DIR="${PROJECT}-${1}"
mkdir "$DIR"
cp ./*.py ./*.md ./*.txt "$DIR"
dos2unix "$DIR"/*.*
touch "$DIR" "$DIR"/*.*
tar -czvf "${RELEASE}/${DIR}.tar.gz" "$DIR"
zip --to-crlf -r "${RELEASE}/${DIR}.zip" "$DIR"
touch "$RELEASE"/*.*
rm -rf "${DIR}"
fi

Binary file not shown.

Binary file not shown.