Skip to content

Commit

Permalink
git push with bundler, not github, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Dec 27, 2024
1 parent 3cab623 commit 6c85a73
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 39 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
name: Tests
name: CI

on:
push:
branches: [ "main" ]
branches:
- main
pull_request:
branches: [ "main" ]

permissions:
contents: read
branches:
- main

jobs:
test:
name: ${{ format('Unit tests (Ruby {0})', matrix.ruby-version) }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.1', '3.2', '3.3', '3.4']
ruby-version:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
- name: Set up Ruby and install gems
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Configure git user name, email
- name: Configure Git
run: |
git config --global user.name $NAME
git config --global user.email $EMAIL
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/push_gem.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ project adheres to [Semantic Versioning][Semver].

- Your contribution here!

## [0.5.1] - 2024-12-27
### Changed
- Push gems with bundler (not GitHub actions)

## [0.5.0] - 2024-09-23
### Removed
- Support for Ruby < 3.1 (older rubies no longer supported)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lolcommits Tranzlate

[![Build](https://img.shields.io/github/actions/workflow/status/lolcommits/lolcommits-tranzlate/build.yml?branch=main&style=flat)](https://github.com/lolcommits/lolcommits-tranzlate/actions/workflows/build.yml)
[![CI](https://img.shields.io/github/actions/workflow/status/lolcommits/lolcommits-tranzlate/ci.yml?branch=main&style=flat&label=CI)](https://github.com/lolcommits/lolcommits-tranzlate/actions/workflows/ci.yml)
[![Gem](https://img.shields.io/gem/v/lolcommits-tranzlate.svg?style=flat)](http://rubygems.org/gems/lolcommits-tranzlate)
[![Depfu](https://img.shields.io/depfu/lolcommits/lolcommits-tranzlate.svg?style=flat)](https://depfu.com/github/lolcommits/lolcommits-tranzlate)

Expand Down Expand Up @@ -88,7 +88,7 @@ The gem is available as open source under the terms of

## Links

* [CI](https://github.com/lolcommits/lolcommits-tranzlate/actions/workflows/build.yml)
* [CI](https://github.com/lolcommits/lolcommits-tranzlate/actions/workflows/ci.yml)
* [RDoc](http://rdoc.info/projects/lolcommits/lolcommits-tranzlate)
* [Issues](http://github.com/lolcommits/lolcommits-tranzlate/issues)
* [Report a bug](http://github.com/lolcommits/lolcommits-tranzlate/issues/new)
Expand Down
2 changes: 1 addition & 1 deletion lib/lolcommits/tranzlate/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Lolcommits
module Tranzlate
VERSION = "0.5.0".freeze
VERSION = "0.5.1".freeze
end
end
2 changes: 1 addition & 1 deletion lolcommits-tranzlate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
"allowed_push_host" => "https://rubygems.org"
}

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(assets|test|features)/}) }
spec.files = `git ls-files`.split("\n")
spec.test_files = `git ls-files -- {test,features}/*`.split("\n")
spec.bindir = "bin"
spec.executables = []
Expand Down

0 comments on commit 6c85a73

Please sign in to comment.