Merge branch 'release/0.1.1'

This commit is contained in:
Rostislav Raykov 2019-09-18 01:52:18 +02:00
commit b1fc33d2aa
5 changed files with 12 additions and 4 deletions

View file

@ -21,7 +21,8 @@ jobs:
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: login ${{ secrets.CRATES_TOKEN }}
command: login
arguments: ${{ secrets.CRATES_TOKEN }}
- name: Publish to crates.io
uses: actions-rs/cargo@v1
with:

View file

@ -28,7 +28,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
return context.payload.ref.replace(/\/refs\/tags\//, '');
return context.payload.ref.split('/')[2];
- name: Archive
run: tar cfJ cloudflare-ddns-${{ steps.version.outputs.result }}.tar.xz target/cloudflare-ddns
- name: Create release

2
Cargo.lock generated
View file

@ -153,7 +153,7 @@ dependencies = [
[[package]]
name = "cloudflare-ddns"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"exitcode 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -1,6 +1,6 @@
[package]
name = "cloudflare-ddns"
version = "0.1.0"
version = "0.1.1"
authors = ["Rostislav Raykov <z@zbrox.org>"]
edition = "2018"
description = "A simple CLI tool to use Cloudflare's free DDNS service"

7
README.md Normal file
View file

@ -0,0 +1,7 @@
# CloudFlare DDNS update tool
This is a simple CLI you can use to continuously update an A DNS record for a domain using CloudFlare's free DDNS service.
# TODO
Write about usage and CloudFlare setup