Skip to content

Commit

Permalink
chore: dependencies updates and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Jul 19, 2021
1 parent 39025be commit 1f27d70
Show file tree
Hide file tree
Showing 8 changed files with 249 additions and 50 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
cargo deb -p tera-cli -o "tera-cli_linux_amd64.deb"
- name: Upload artifacts
- name: Upload Linux artifacts
uses: actions/upload-artifact@v2
with:
name: linux
Expand Down Expand Up @@ -71,7 +71,6 @@ jobs:
shell: bash
run: |
cargo build --release
# echo "${{ github.workspace }}/${{ env.TARGET_DIR }}" >> $GITHUB_PATH
cp "${{ env.TARGET_DIR }}/tera" /usr/local/bin
- name: Compress & sha256
Expand All @@ -81,7 +80,7 @@ jobs:
echo SHA256: $SHA256
echo "SHA256=$SHA256" >> $GITHUB_ENV
- name: Upload artifacts
- name: Upload MacOS artifacts
uses: actions/upload-artifact@v2
with:
name: macos
Expand Down Expand Up @@ -129,6 +128,7 @@ jobs:
echo "SHORT_SHA=${GITHUB_SHA::8}" >> $GITHUB_ENV
- uses: actions/download-artifact@v2

# TODO: here we could fetch the artifacts and reuse our freshest build.
- name: Install tera v0.1.0
run: |
URL=https://github.com/chevdor/tera-cli/releases/download/v0.1.0-ae9bc49c/tera-cli_linux_amd64.deb
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
README.xml
.env
cargo-timing*.html
75 changes: 40 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ license = "MIT"

[dependencies]
clap = "3.0.0-beta.2"
env_logger = "0.8.4"
log = "0.4.14"
serde = "1.0.126"
serde_json = {version = "1.0.64", optional = false}
serde_yaml = {version = "0.8.17", optional = false}
tera = "1.11.0"
toml = {version = "0.5.8", optional = false}
env_logger = "0.9"
log = "0.4"
serde = "1.0"
serde_json = {version = "1.0", optional = false}
serde_yaml = {version = "0.8", optional = false}
tera = "1.12"
toml = {version = "0.5", optional = false}

[dev-dependencies]
assert_cmd = "1.0.5"
predicates = "1.0.8"
assert_cmd = "1.0"
predicates = "2.0"

[[bin]]
name = "tera"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Passing the `-a | --escape` flag allows escaping the content.

## Usage

tera-cli 0.1.0
tera-cli 0.1.3
chevdor <chevdor@gmail.com>
Command line utility for the tera templating engine. You need to provide a template using the tera
syntax as well as some data (various format are supported)
Expand Down
1 change: 0 additions & 1 deletion data/polkadot-metadata/metdata.tera
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ no call
{%- endif %}

{% endfor %}

Loading

0 comments on commit 1f27d70

Please sign in to comment.