Bump Payphone version and make ansible Payphone deployment playbook bump version at the end, not at the beginning
This commit is contained in:
Generated
+1
-1
@@ -1437,7 +1437,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "payphone"
|
name = "payphone"
|
||||||
version = "4.2.24"
|
version = "4.3.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"axum",
|
"axum",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "payphone"
|
name = "payphone"
|
||||||
version = "4.2.24"
|
version = "4.3.1"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
default-run = "payphone"
|
default-run = "payphone"
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,6 @@
|
|||||||
hosts: localhost
|
hosts: localhost
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Bump Version
|
|
||||||
ansible.builtin.shell: >
|
|
||||||
cargo set-version --bump patch
|
|
||||||
changed_when: false
|
|
||||||
|
|
||||||
- name: Get Cargo Project Metadata
|
- name: Get Cargo Project Metadata
|
||||||
ansible.builtin.command: cargo metadata --no-deps --format-version 1
|
ansible.builtin.command: cargo metadata --no-deps --format-version 1
|
||||||
register: cargo_metadata
|
register: cargo_metadata
|
||||||
@@ -132,3 +127,12 @@
|
|||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
kubectl set image -n payphone sts/payphone payphone=registry.nyeki.dev/payphone/payphone:{{ hostvars['localhost'].app_version }}
|
kubectl set image -n payphone sts/payphone payphone=registry.nyeki.dev/payphone/payphone:{{ hostvars['localhost'].app_version }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
- name: Bump Payphone Version
|
||||||
|
hosts: localhost
|
||||||
|
gather_facts: true
|
||||||
|
tasks:
|
||||||
|
- name: Bump Version
|
||||||
|
ansible.builtin.shell: >
|
||||||
|
cargo set-version --bump patch
|
||||||
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user