Skip to content

Commit ddfe989

Browse files
authored
Improve release workflow (#15)
* Delete build.py * Update README.md * add git credentials for bot
1 parent db41660 commit ddfe989

File tree

3 files changed

+13
-55
lines changed

3 files changed

+13
-55
lines changed

.github/workflows/create_release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v3
27+
with:
28+
fetch-depth: 0 # Fetch all history for tags and commits
29+
30+
- name: Set up Git credentials
31+
run: |
32+
git config user.name "ga-sdk-release[bot]"
33+
git config user.email "ga-sdk-release[bot]@noreply.gameanalytics.com"
34+
2535
- name: Push tag ${{ inputs.tag_name }}
2636
run: |
2737
git tag ${{ inputs.tag_name }}
@@ -42,4 +52,4 @@ jobs:
4252
name: Release GA-CPP-SDK ${{ inputs.tag_name }}
4353
generate_release_notes: true
4454
make_latest: true
45-
files: ./release-artifacts/*
55+
files: ./release-artifacts/*

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Changelog
4949
How to build
5050
------------
5151

52-
Run `build.py` with the required argument for your platform:
52+
Run `setup.py` with the required argument for your platform:
5353

5454
```sh
55-
python build.py --platform={your platform}
55+
python setup.py --platform {linux_x64,linux_x86,osx,win32,win64,uwp} [--cfg {Release,Debug}] [--build] [--test] [--coverage]
5656
```
5757

5858
The following arguments are supported:

build.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)