Skip to content

Commit

Permalink
fix: update version correctly in rockspec (#12)
Browse files Browse the repository at this point in the history
* Fix bump-rockspec.sh file to update version in rockspec file correctly
  • Loading branch information
krishna-raj007-d11 committed Nov 16, 2021
1 parent 102c4c3 commit 9a07a5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/scripts/bump-rockspec.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
file_name=$(ls *.rockspec)

prefix='kong-scalable-rate-limiter'
prefix='kong-scalable-rate-limiter-'
suffix='-1.rockspec'

version=${file_name#"$prefix"}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package = "scalable-rate-limiter"
package = "kong-scalable-rate-limiter"

version = "1.0.0-1"
version = "1.1.0-1"

supported_platforms = {"linux", "macosx"}

source = {
url = "git://github.com/dream11/kong-scalable-rate-limiter",
tag = "v1.0.0"
tag = "v1.1.0"
}

description = {
Expand Down

0 comments on commit 9a07a5a

Please sign in to comment.