Skip to content

Commit 3b6a8e8

Browse files
authored
Merge pull request #297 from jorisv/topic/change-default-branch
Change work in progress branch
2 parents 7cd9bbc + 6a67d22 commit 3b6a8e8

File tree

8 files changed

+39
-13
lines changed

8 files changed

+39
-13
lines changed

.github/workflows/check-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
55
branches:
6-
- devel
6+
- main
77
jobs:
88
check-changelog:
99
name: Check changelog action

.github/workflows/macos-linux-pixi.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
push:
55
branches:
66
- main
7-
- devel
87
paths-ignore:
98
- 'doc/**'
109
- 'scripts/**'
1110
- '.gitlab-ci.yml'
1211
- '.gitignore'
13-
- '*.md'
14-
- 'CHANGELOG.md'
12+
- '**.md'
1513
- 'CITATION.cff'
1614
- 'CITATIONS.bib'
1715
pull_request:
@@ -20,8 +18,7 @@ on:
2018
- 'scripts/'
2119
- '.gitlab-ci.yml'
2220
- '.gitignore'
23-
- '*.md'
24-
- 'CHANGELOG.md'
21+
- '**.md'
2522
- 'CITATION.cff'
2623
- 'CITATIONS.bib'
2724
concurrency:

.github/workflows/nix.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ on:
44
push:
55
branches:
66
- main
7-
- devel
87
pull_request:
98
branches:
109
- main
11-
- devel
12-
1310
jobs:
1411
nix:
1512
runs-on: "${{matrix.os}}-latest"

.github/workflows/update_pixi_lockfile.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- uses: actions/checkout@v4
2323
with:
2424
token: ${{ steps.generate-token.outputs.token }}
25-
ref: devel
2625
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
2726
persist-credentials: false
2827

@@ -44,7 +43,7 @@ jobs:
4443
title: Update pixi lockfile
4544
body-path: diff.md
4645
branch: topic/update-pixi
47-
base: devel
46+
base: main
4847
labels: pixi
4948
delete-branch: true
5049
add-paths: pixi.lock

development/release.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Release with Pixi
2+
3+
To create a release with Pixi run the following commands on the **main** branch:
4+
5+
```bash
6+
aligator_VERSION=X.Y.Z pixi run release_new_version
7+
git push origin
8+
git push origin vX.Y.Z
9+
```
10+
11+
Where `X.Y.Z` is the new version.
12+
Be careful to follow the [Semantic Versioning](https://semver.org/spec/v2.0.0.html) rules.
13+
14+
You will find the following assets:
15+
- `./build_new_version/aligator-X.Y.Z.tar.gz`
16+
- `./build_new_version/aligator-X.Y.Z.tar.gz.sig`
17+
18+
Then, create a new release on [GitHub](https://github.com/Simple-Robotics/aligator/releases/new) with:
19+
20+
* Tag: vX.Y.Z
21+
* Title: aligator vX.Y.Z
22+
* Body:
23+
```
24+
## What's Changed
25+
26+
CHANGELOG CONTENT
27+
28+
**Full Changelog**: https://github.com/Simple-Robotics/aligator/compare/vXX.YY.ZZ...vX.Y.Z
29+
```
30+
31+
Where `XX.YY.ZZ` is the last release version.
32+
33+
Then upload `aligator-X.Y.Z.tar.gz` and `aligator-X.Y.Z.tar.gz.sig` and publish the release.

pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ typed-argument-parser = ">=1.10.0"
2929
meshcat-python = ">=0.3"
3030

3131
[activation]
32-
scripts = ["build_scripts/pixi/activation.sh"]
32+
scripts = ["development/pixi/activation.sh"]
3333

3434
[tasks]
3535
# We must avoid to set CMAKE_CXX_FLAGS because of WIN32
@@ -104,7 +104,7 @@ python = "3.9.*"
104104
# to avoid cxx-compiler to overwrite them.
105105
[feature.clang]
106106
platforms = ["linux-64"]
107-
activation = { scripts = ["build_scripts/pixi/activation_clang.sh"] }
107+
activation = { scripts = ["development/pixi/activation_clang.sh"] }
108108
dependencies = { clangxx = "*" }
109109

110110
[environments]

0 commit comments

Comments
 (0)