Skip to content

Commit

Permalink
Fix missing version bump from last release.
Browse files Browse the repository at this point in the history
This changes the VERSION constant be a macro, so just the shards.yml version number
need to be changed.

Also change the change lo to adhere to keepachangelog.com
  • Loading branch information
hugopl committed Apr 19, 2023
1 parent 6ccf48c commit 05d50b8
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 29 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Sidekiq.cr Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.2] - 2023-04-19
### Fixed
- Fix version numbering mistake from 0.7.1 release.
- Fix some more ameba linter errors and ignore others.

### Changed
- Update dependencies and just fix the minimum required version of them
- Remove ameba from development dependencies but keep using it on CI.
- Adhere to https://keepachangelog.com/en/1.0.0/

## [0.7.1] - 2023-03-31
### Fixed
- Update kemal dependency [#112]

## [0.7.0] - 2021-04-01
### Fixed
- Works with Crystal 1.0

## [0.6.1] - 2017-05-09
### Fixed
- Updates for latest Crystal, Kemal versions

## [0.6.0] - 2016-09-08
### Added
- Implement `sidekiq_options` for Workers. [#3]

### Fixed
- Fixes for Crystal 0.19

## [0.5.0] - 2016-06-11
- Initial release. See the wiki for how to [Get Started](https://github.com/mperham/sidekiq.cr/wiki/Getting-Started)!
26 changes: 0 additions & 26 deletions Changes.md

This file was deleted.

2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sidekiq
version: 0.7.0
version: 0.7.2

authors:
- Mike Perham <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion spec/sidekiq_spec.cr
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
require "./spec_helper"
require "semantic_version"

describe Sidekiq do
describe "basics" do
it "has a version" do
Sidekiq::VERSION.should_not be_nil
SemanticVersion.parse(Sidekiq::VERSION)
end
end

Expand Down
2 changes: 1 addition & 1 deletion src/sidekiq/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Sidekiq
VERSION = "0.7.0"
VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify }}
end

0 comments on commit 05d50b8

Please sign in to comment.