From 8dbca823ab6ecae2dd5aa3ed81b0e8762a95a316 Mon Sep 17 00:00:00 2001 From: mcpeapsUnterstrichHD Date: Wed, 4 Sep 2024 22:11:11 +0200 Subject: [PATCH] . --- .github/workflows/release.yml | 24 ++++++++++++++++++++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2458354..45be846 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,15 @@ jobs: - name: Debug Version run: echo "Version is ${{ env.version }}" + - name: Extract Date + id: extract_date + run: | + date=$(date +'%Y-%m-%d') + echo "date=$date" >> $GITHUB_ENV + + - name: Debug Date + run: echo "Date is ${{ env.date }}" + - name: Create Changelog File id: create-changelog uses: 1arp/create-a-file-action@0.4.5 @@ -30,7 +39,18 @@ jobs: file: changelog.md isAbsolutePath: false content: | - # Genp v${{ env.version }} + # Changelog + + All notable changes to this project will be documented in this file. + + This project adheres to [Semantic Versioning](https://semver.org). + + + + ## [Unreleased] + ## [v${{ env.version }}] - ${{ env.date }} Hey there, folks! It's time to unleash the power of Genp v${{ env.version }} - the ultimate CLI tool for generating secure passwords and PINs that'll keep your data safer than a bank vault. With this release, we've added some extra spice to make things even more fun. Who needs boring old passwords when you can have funky fresh ones straight from the Genp factory? So, what are you waiting for? Grab your copy and start generating passwords that'll make your friends go "Whoa, how'd you come up with that?" 🎉 @@ -38,7 +58,7 @@ jobs: - name: Check if Changelog Exists run: cat changelog.md - - name: create-release + - name: Create GitHub Release id: create-release uses: taiki-e/create-gh-release-action@v1 with: diff --git a/Cargo.lock b/Cargo.lock index dc9111f..cd15c6e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,7 +98,7 @@ checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "genp" -version = "1.0.12" +version = "1.0.13" dependencies = [ "clap", "rand", diff --git a/Cargo.toml b/Cargo.toml index 92550e0..343d224 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genp" -version = "1.0.12" +version = "1.0.13" description = "A simple Generator for PINs and Passwords" authors = ["comboom.sucht","mcpeaps_HD"] edition = "2021"