Skip to content
Snippets Groups Projects
Commit 7d2571dc authored by John Harris's avatar John Harris
Browse files

build: ci tweaks

parent 63318306
No related branches found
Tags 1.5.1
No related merge requests found
Pipeline #30543 failed
......@@ -5,9 +5,6 @@ stages:
- test
before_script:
- sudo apt-get update -qq
- ruby -v
- which ruby
- gem install bundler --no-document
- bundle install --jobs $(nproc) "${FLAGS[@]}"
......@@ -30,10 +27,10 @@ release:
- gem update --system
- ruby --version
- gem env version
- sed -i "s/0.1.0/$CI_COMMIT_TAG/g" lib/nexus_semantic_logger/version.rb
- sed -i "s/0.0.0/$CI_COMMIT_TAG/g" lib/nexus_semantic_logger/version.rb
- gem build nexus_semantic_logger.gemspec
- gem push nexus_semantic_logger*.gem
artifacts:
paths:
- nexus_semantic_logger*.gem
expire_in: 30 days
\ No newline at end of file
expire_in: 30 days
# frozen_string_literal: true
module NexusSemanticLogger
# Leave this as 0.1.0 in order for CI process to replace with the tagged version.
VERSION = '0.1.0'
end
\ No newline at end of file
# Leave this as 0.0.0 in order for CI process to replace with the tagged version.
VERSION = '0.0.0'
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment