Skip to content

Commit 603a476

Browse files
authored
Merge pull request #4 from pollenjp/bugfix/ci
v0.0.10
2 parents 2e1c9d5 + efb6f3f commit 603a476

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

.github/workflows/build-binaries.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
env:
1616
APP_NAME: cdk-ansible
17+
PKG_NAME: cdk-ansible-cli
1718
CARGO_INCREMENTAL: 0
1819
CARGO_NET_RETRY: 10
1920
RUSTUP_MAX_RETRIES: 10
@@ -86,12 +87,12 @@ jobs:
8687
- name: Build binaries
8788
run: ./tools/build/build.sh
8889
env:
89-
PKG_NAME: cdk-ansible-cli
90+
PKG_NAME: ${{ env.PKG_NAME }}
9091
BUILD_BINARY_TARGET: ${{ matrix.target }}
9192
- name: Archive binary for Unix-like systems
9293
if: ${{ !contains(matrix.target, 'windows-msvc') }}
9394
run: |
94-
archive_name="${{ env.APP_NAME }}-${{ matrix.target }}"
95+
archive_name="${{ env.PKG_NAME }}-${{ matrix.target }}"
9596
archive_dir="${DIST_DIR:?}/$archive_name"
9697
archive_file="$archive_name.tar.gz"
9798

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*", "examples/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.0.9"
6+
version = "0.0.10"
77
edition = "2021"
88
rust-version = "1.83"
99
description = "cdk-ansible is a tool to generate Ansible playbooks from Rust code."

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ clean:
8989

9090
.PHONY: dist-gen
9191
dist-gen:
92-
dist generate
93-
# dist build --tag=v0.0.8 --output-format=json "--artifacts=global"
92+
# dist generate
93+
dist build --tag=v0.0.10 --output-format=json "--artifacts=global"
9494

9595
.PHONY: publish
9696
publish:

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ While Ansible's `playbook` and `inventory` files are written in YAML format, man
1717
- [**cdk-ansible**](https://crates.io/crates/cdk-ansible) crate helps you to generate Ansible **Playbook** and **Inventory** files.
1818
- [**cdk-ansible-cli**](https://crates.io/crates/cdk-ansible-cli) (`cdk-ansible` command) generates Rust packages for existing Ansible modules.
1919

20-
## Install
20+
## Install Command
2121

2222
### binstall
2323

2424
[binstall](https://crates.io/crates/cargo-binstall)
2525

2626
```bash
27-
cargo binstall cdk-ansible
27+
cargo binstall cdk-ansible-cli
2828
```
2929

3030
### Shell
@@ -33,13 +33,12 @@ See [the latest release page](https://github.com/pollenjp/cdk-ansible/releases/l
3333

3434
```sh
3535
# ex) vX.Y.Z
36-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/pollenjp/cdk-ansible/releases/download/vX.Y.Z/cdk-ansible-installer.sh | sh
36+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/pollenjp/cdk-ansible/releases/download/vX.Y.Z/cdk-ansible-cli-installer.sh | sh
3737
```
3838

3939
### cargo install
4040

4141
```bash
42-
# note: use 'cdk-ansible-cli', not 'cdk-ansible'
4342
cargo install cdk-ansible-cli
4443
```
4544

crates/cdk-ansible-cli/dist.toml

-2
This file was deleted.

0 commit comments

Comments
 (0)