Skip to content

Commit

Permalink
ci: use entrypoint.sh instead of gib directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Coenraad Human committed May 27, 2024
1 parent cf8d955 commit 1befdac
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 162 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-version-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
echo "========================="
echo "Calculate Project Version"
echo "========================="
calculated_version=$(gib version -p /app)
calculated_version=$(gib-entrypoint.sh version -p /app)
echo "Calculated version: $calculated_version"
echo "============================="
Expand All @@ -57,7 +57,7 @@ jobs:
echo "=================="
echo "Generate Changelog"
echo "=================="
gib changelog -p /app > CHANGELOG.md
gib-entrypoint.sh changelog -p /app > CHANGELOG.md
- name: Commit Changes
run: |
Expand Down
218 changes: 59 additions & 159 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,161 +1,61 @@
# Changelog

All notable changes to this project will be documented in this file.

## [unreleased]

### ⚙️ Miscellaneous Tasks

- Remove riscv64 build temporarily

## [1.5.0] - 2024-05-22

### 🚀 Features

- Initial changelog files
- Conventional commit creation from regex groups
- Simple changelog generation

### 🚜 Refactor

- Share logic between version and changelog commands
- Single source of semantic version calculation

### 📚 Documentation

- Changelog addition to readme
- Changelog

### 🧪 Testing

- Conventional commit creation testing

### ⚙️ Miscellaneous Tasks

- Fix shell being used on changelog job

## [1.2.2] - 2024-05-21

### 🚀 Features

- Alpine docker image for extremely small image size
- Scope filter to support monorepos

### 🐛 Bug Fixes

- Docker build, supported archs for base images

### 📚 Documentation

- Readme

### ⚙️ Miscellaneous Tasks

- Multi arch build docker, tag filtering on jobs, new changelog for release
- Better descriptor for scope filter in help menu

## [1.0.4] - 2024-05-17

### 🐛 Bug Fixes

- Regular expression for filtering commits
- Regular expression for filtering commits

### 🚜 Refactor

- Rust modules

### 🧪 Testing

- Commit regex and version calculation

### ⚙️ Miscellaneous Tasks

- Build and test
- Workflow updates
- Use rust version of gib
- Cross compile binaries job

## [1.0.0] - 2024-05-13

### ⚙️ Miscellaneous Tasks

- [**breaking**] Licence and recognition of gib introducing breaking changes with move to rust

## [0.10.1] - 2024-05-13

### 🚀 Features

- Use rust instead of java
- Regex for ensuring string is valid before processing
- Smaller docker image using debian slim
- Auto use current directory when -p not supplied

### 📚 Documentation

- Docker

### ⚙️ Miscellaneous Tasks

- Clean up macos nonsense
- Add workflow for calculating version automatically

## [0.6.5] - 2023-03-27

### 📚 Documentation

- Update to include new clap default help option

### ⚙️ Miscellaneous Tasks

- Update clap version

## [0.6.3] - 2023-03-24

### 🐛 Bug Fixes

- Commit regex filter

### 📚 Documentation

- Readme update

## [0.6.1] - 2023-03-22

### 🚀 Features

- Improved cli argument parser
- Add argument for providing git hook commit message
- Dockerfile and action
- Utilise clap
- Add in major, minor and patch option functionality

### 🐛 Bug Fixes

- Commit returning wrong normalised version

### 🚜 Refactor

- Remove unused and clean up
- Remove dead code

### 📚 Documentation

- Update readme

### 🎨 Styling

- Checkstyle accommodation for long string lines

### ⚙️ Miscellaneous Tasks

- Improve binary build script
- Change logging level

## [0.1.0] - 2023-03-14

### 🚀 Features

- Initial project

<!-- generated by git-cliff -->
## 1.6.0

|Version|Commit Type|Description|Breaking Change|Deprecation|
|---|---|---|---|---|
|1.6.0|CI|Use entrypoint sh instead of gib directly.| | |
|1.6.0|Feature|Author and committer on changelog.| | |
|1.5.3|CI|Manual trigger for version and changelog job.| | |
|1.5.3|Documentation|Docker information.| | |
|1.5.2|Fix|Docker permission issues regarding repositories and pipelines.| | |
|1.5.1|Documentation|New badges and use gib for changelog generation.| | |
|1.5.0|CI|Remove riscv64 build temporarily.| | |
|1.5.0|CI|Fix shell being used on changelog job.| | |
|1.5.0|Feature|Simple changelog generation.| | |
|1.4.1|Documentation|Changelog.| | |
|1.4.0|Testing|Conventional commit creation testing.| | |
|1.4.0|Feature|Conventional commit creation from regex groups.| | |
|1.3.3|Refactor|Single source of semantic version calculation.| | |
|1.3.2|Refactor|Share logic between version and changelog commands.| | |
|1.3.1|Documentation|Changelog addition to readme.| | |
|1.3.0|Feature|Initial changelog files.| | |
|1.2.2|Fix|Docker build supported archs for base images.| | |
|1.2.1|Chore|Better descriptor for scope filter in help menu.| | |
|1.2.0|Feature|Scope filter to support monorepos.| | |
|1.1.1|CI|Multi arch build docker tag filtering on jobs new changelog for release.| | |
|1.1.1|Documentation|Readme.| | |
|1.1.0|Feature|Alpine docker image for extremely small image size.| | |
|1.0.3|CI|Cross compile binaries job.| | |
|1.0.3|CI|Use rust version of gib.| | |
|1.0.3|CI|Workflow updates.| | |
|1.0.3|CI|Build and test.| | |
|1.0.3|Testing|Commit regex and version calculation.| | |
|1.0.3|Fix|Regular expression for filtering commits.| | |
|1.0.2|Fix|Regular expression for filtering commits.| | |
|1.0.1|Refactor|Rust modules.| | |
|1.0.0|Chore|Licence and recognition of gib introducing breaking changes with move to rust.|X| |
|0.10.1|Documentation|Docker.| | |
|0.10.0|Feature|Auto use current directory when p not supplied.| | |
|0.9.0|CI|Add workflow for calculating version automatically.| | |
|0.9.0|Feature|Smaller docker image using debian slim.| | |
|0.8.0|Feature|Regex for ensuring string is valid before processing.| | |
|0.7.1|Chore|Clean up macos nonsense.| | |
|0.7.0|Feature|Use rust instead of java.| | |
|0.6.5|Documentation|Update to include new clap default help option.| | |
|0.6.4|Chore|Update clap version.| | |
|0.6.3|Fix|Commit regex filter.| | |
|0.6.2|Documentation|Readme update.| | |
|0.6.1|Documentation|Update readme.| | |
|0.6.0|Feature|Add in major minor and patch option functionality.| | |
|0.5.1|Fix|Commit returning wrong normalised version.| | |
|0.5.0|Feature|Utilise clap.| | |
|0.4.1|Refactor|Remove dead code.| | |
|0.4.0|Styling|Checkstyle accommodation for long string lines.| | |
|0.4.0|Feature|Dockerfile and action.| | |
|0.3.1|Chore|Change logging level.| | |
|0.3.0|Feature|Add argument for providing git hook commit message.| | |
|0.2.1|Refactor|Remove unused and clean up.| | |
|0.2.0|Feature|Improved cli argument parser.| | |
|0.1.1|Chore|Improve binary build script.| | |
|0.1.0|Feature|Initial project.| | |
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gib"
version = "1.5.0"
version = "1.6.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 1befdac

Please sign in to comment.