Clean-up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7316 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6930669bc0
commit
ac5e400712
2 changed files with 14 additions and 17 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: CI
|
name: Build, Test and Publish
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
- name: Brew Dependencies
|
- name: Brew Dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install scons mingw-w64 zlib
|
brew install scons mingw-w64 zlib
|
||||||
|
|
7
.github/workflows/copy-svn.yml
vendored
7
.github/workflows/copy-svn.yml
vendored
|
@ -46,10 +46,12 @@ jobs:
|
||||||
else
|
else
|
||||||
echo '::set-output name=cache-hit::false'
|
echo '::set-output name=cache-hit::false'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Initial SVN clone
|
- name: Initial SVN clone
|
||||||
if: steps.restore-cache.outputs.cache-hit != 'true'
|
if: steps.restore-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
git svn clone -A.github/workflows/svn-authors -s https://svn.code.sf.net/p/nsis/code/NSIS svn2git
|
git svn clone -A.github/workflows/svn-authors -s https://svn.code.sf.net/p/nsis/code/NSIS svn2git
|
||||||
|
|
||||||
- name: SVN fetch
|
- name: SVN fetch
|
||||||
working-directory: svn2git
|
working-directory: svn2git
|
||||||
run: |
|
run: |
|
||||||
|
@ -74,21 +76,16 @@ jobs:
|
||||||
- name: SVN tags
|
- name: SVN tags
|
||||||
working-directory: svn2git
|
working-directory: svn2git
|
||||||
run: |
|
run: |
|
||||||
git tag
|
|
||||||
|
|
||||||
git for-each-ref --format="%(refname:short) %(objectname)" refs/remotes/origin/tags \
|
git for-each-ref --format="%(refname:short) %(objectname)" refs/remotes/origin/tags \
|
||||||
| while read BRANCH REF
|
| while read BRANCH REF
|
||||||
do
|
do
|
||||||
TAG_NAME=`echo $BRANCH | cut -d / -f 3-`
|
TAG_NAME=`echo $BRANCH | cut -d / -f 3-`
|
||||||
BODY="$(git log -1 --format=format:%B $REF)"
|
BODY="$(git log -1 --format=format:%B $REF)"
|
||||||
echo "ref=$REF parent=$(git rev-parse $REF^) tagname=$TAG_NAME body=$BODY" >&2
|
echo "ref=$REF parent=$(git rev-parse $REF^) tagname=$TAG_NAME body=$BODY" >&2
|
||||||
git tag -l "$TAG_NAME"
|
|
||||||
echo XXX
|
|
||||||
if [ $(git tag -l "$TAG_NAME") ]; then
|
if [ $(git tag -l "$TAG_NAME") ]; then
|
||||||
echo tag already exists
|
echo tag already exists
|
||||||
else
|
else
|
||||||
git tag -a -m "$BODY" $TAG_NAME $REF^
|
git tag -a -m "$BODY" $TAG_NAME $REF^
|
||||||
#git branch -r -d $BRANCH
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue