Skip to content

Commit d50dc0c

Browse files
committed
add .github directory
1 parent 2e57fc9 commit d50dc0c

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: publish
2+
on:
3+
push:
4+
paths:
5+
- 'debian/changelog'
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
path: "ruby"
14+
- run: |
15+
major_version=$(head -n1 ruby/debian/changelog | egrep -o "ruby[0-9.]+" | sed "s/ruby//")
16+
minor_version=$(head -n1 ruby/debian/changelog | egrep -o "\([0-9.]+" | sed "s/(//")
17+
curl https://cache.ruby-lang.org/pub/ruby/${major_version}/ruby-${minor_version}.tar.gz > ruby${major_version}_${minor_version}.orig.tar.gz
18+
# Remove this file itself to avoid generating a debian-changes file
19+
rm -rf ruby/.github
20+
- name: Publish PPA
21+
uses: maths22/publish-ppa-package@main
22+
with:
23+
repository: 'ppa:maths22/ruby-testing'
24+
gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }}
25+
gpg_passphrase: ${{ secrets.PPA_GPG_PASSPHRASE }}
26+
series: 'focal jammy'
27+
pkgdir: '${{ github.workspace }}/ruby/'

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
ruby3.1 (3.1.7-1) focal; urgency=medium
2+
3+
* Initial empty upstream branch
4+
* New upstream version 3.1.7
5+
6+
-- Aaron Ogata <aogata@instructure.com> Wed, 01 Oct 2025 12:35:51 -0700
7+
18
ruby3.1 (3.1.2-1ppa3) bionic; urgency=medium
29

310
* Bump to build debug symbols

0 commit comments

Comments
 (0)