Skip to content

Commit afd3296

Browse files
authored
chore: prepare v0.5.0 release (#269)
* chore: prepare v0.5.0 release Signed-off-by: Emi <emi@sourcegraph.com> * rename scip-ruby/master -> master Signed-off-by: Emi <emi@sourcegraph.com> * build: fix buildifier formatting --------- Signed-off-by: Emi <emi@sourcegraph.com>
1 parent db9f39e commit afd3296

7 files changed

Lines changed: 20 additions & 11 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: CI
22
on:
33
push:
44
branches:
5-
- scip-ruby/master
5+
- master
66
pull_request:
77
branches:
8-
- scip-ruby/master
8+
- master
99

1010
jobs:
1111
test:

‎.github/workflows/evict.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import operator
2626
import os
2727

28-
DEFAULT_BRANCH_NAME = 'scip-ruby/master'
28+
DEFAULT_BRANCH_REF = 'refs/heads/master'
2929

3030
CACHES_URL = 'https://api.github.com/repos/sourcegraph/scip-ruby/actions/caches'
3131

@@ -59,14 +59,14 @@ def default_main():
5959

6060
default_branch_cache_entries, other_branch_cache_entries = partition(
6161
caches['actions_caches'],
62-
lambda x: x['ref'].endswith(DEFAULT_BRANCH_NAME)
62+
lambda x: x['ref'] == DEFAULT_BRANCH_REF
6363
)
6464
if len(default_branch_cache_entries) > 1:
6565
# Even if the cache action decides to evict a cache entry
6666
# for the default branch, it'll be OK, since we'll at least have
6767
# one cache entry left. This is assuming that we don't have a ginormous
6868
# cache entry, but that's OK.
69-
print('Found multiple cache entries for {}'.format(DEFAULT_BRANCH_NAME))
69+
print('Found multiple cache entries for {}'.format(DEFAULT_BRANCH_REF))
7070
print('Not manually evicting any entry.')
7171
return
7272

‎.github/workflows/lint.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Lint
22
on:
33
push:
44
branches:
5-
- scip-ruby/master
5+
- master
66
pull_request:
77
branches:
8-
- scip-ruby/master
8+
- master
99

1010
jobs:
1111
test:

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG
22

3+
## v0.5.0
4+
5+
Updates scip-ruby with ~2,000+ and approximately two years of upstream Sorbet changes.
6+
7+
The updated indexer preserves and improves existing navigation and source
8+
information, supports modern Sorbet projects, and fixes additional navigation
9+
gaps, crashes, and cache conflicts. ([#261](https://github.com/sourcegraph/scip-ruby/pull/261),
10+
[#262](https://github.com/sourcegraph/scip-ruby/pull/262),
11+
[#263](https://github.com/sourcegraph/scip-ruby/pull/263))
12+
313
## v0.4.8
414

515
Adds enclosing ranges to SCIP class and method definition occurrences,

‎docs/scip-ruby/CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ to use the [GitHub CLI](https://cli.github.com/) instead.
347347
gh pr create -R sourcegraph/scip-ruby
348348
```
349349

350-
This will correctly use the `scip-ruby/master` branch as the target.
350+
This will correctly use the `master` branch as the target.
351351

352352
## Syncing Sorbet upstream
353353

‎third_party/externals.bzl‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ def register_sorbet_dependencies():
353353
build_file = "@com_stripe_ruby_typer//third_party:rbs_parser.BUILD",
354354
)
355355

356-
357356
def register_scip_ruby_dependencies():
358357
for data in gem_build_info:
359358
http_file(

‎tools/scripts/publish-scip-ruby.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ case "$ORIGIN_PUSH_URL" in
4141
;;
4242
esac
4343

44-
if ! git rev-parse --abbrev-ref HEAD | grep -q "scip-ruby/master"; then
45-
echo "error: Releases should be published from scip-ruby/master but HEAD is on a different branch" >&2
44+
if [[ "$(git rev-parse --abbrev-ref HEAD)" != "master" ]]; then
45+
echo "error: Releases should be published from master but HEAD is on a different branch" >&2
4646
exit 1
4747
fi
4848

0 commit comments

Comments
 (0)