Bump Payphone version and make ansible Payphone deployment playbook bump version at the end, not at the beginning

This commit is contained in:
2025-08-24 02:04:51 -03:00
parent 325b4cbc16
commit b9dbc17b63
3 changed files with 11 additions and 7 deletions
Generated
+1 -1
View File
@@ -1437,7 +1437,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
[[package]]
name = "payphone"
version = "4.2.24"
version = "4.3.1"
dependencies = [
"async-trait",
"axum",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "payphone"
version = "4.2.24"
version = "4.3.1"
edition = "2024"
default-run = "payphone"
+9 -5
View File
@@ -2,11 +2,6 @@
hosts: localhost
gather_facts: false
tasks:
- name: Bump Version
ansible.builtin.shell: >
cargo set-version --bump patch
changed_when: false
- name: Get Cargo Project Metadata
ansible.builtin.command: cargo metadata --no-deps --format-version 1
register: cargo_metadata
@@ -132,3 +127,12 @@
ansible.builtin.command:
kubectl set image -n payphone sts/payphone payphone=registry.nyeki.dev/payphone/payphone:{{ hostvars['localhost'].app_version }}
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